未提交图片改为多条

main
ddlucky 7 months ago
parent 26a81f2962
commit 5d04184e2c

@ -126,12 +126,13 @@ Page({
// that.setData({
// upFiles: files
// })
var files = [];
var files = that.data.upFiles;
res.tempFiles.forEach((x)=>{
var IMG=x.tempFilePath;
files.push(IMG);
})
that.setData({
upFiles: files
})

Loading…
Cancel
Save