|
@ -194,7 +194,7 @@ Page({ |
|
|
const imgs = res.tempFiles; |
|
|
const imgs = res.tempFiles; |
|
|
for (let i = 0; i < imgs.length; i++) { |
|
|
for (let i = 0; i < imgs.length; i++) { |
|
|
if (res.tempFiles[i].size > 15728640) { |
|
|
if (res.tempFiles[i].size > 15728640) { |
|
|
commonJs.showToast('图片大于15M,不可上传'); |
|
|
wx.showToast({ title: '图片大于15M,不可上传', icon: 'none' }); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
pics.push(imgs[i].tempFilePath) |
|
|
pics.push(imgs[i].tempFilePath) |
|
|