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)