From f84e527aa83205a0c71c904bdc6d65ff49065a7d Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Fri, 24 Feb 2023 13:58:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/package/inspectionInput/inspectionInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weapp/package/inspectionInput/inspectionInput.js b/weapp/package/inspectionInput/inspectionInput.js index 513b84c..2f0ed73 100644 --- a/weapp/package/inspectionInput/inspectionInput.js +++ b/weapp/package/inspectionInput/inspectionInput.js @@ -194,7 +194,7 @@ Page({ const imgs = res.tempFiles; for (let i = 0; i < imgs.length; i++) { if (res.tempFiles[i].size > 15728640) { - commonJs.showToast('图片大于15M,不可上传'); + wx.showToast({ title: '图片大于15M,不可上传', icon: 'none' }); return; } pics.push(imgs[i].tempFilePath)