Commit ae05bffa authored by wangxuelai's avatar wangxuelai

Merge branch 'develop' into wxl-user-optimize

parents e24e0ee0 c67d45cd
......@@ -431,8 +431,13 @@ Page({
})
},
singleUploadFile(access) {
wx.showLoading({
title: '图片上传中...',
mask: true
})
let imageBox = this.data.imageBox;
if (this.data.currentIndex == (imageBox.length)) {
wx.hideLoading();
this.setData({
imageUploaded: true
})
......@@ -853,6 +858,7 @@ Page({
success (res) {
const {data} = res;
if (data == '{"status":"ok"}') {
console.log(videoInsertIndex, 'videoInsertIndex');
let imageBox = that.data.imageBox;
imageBox[videoInsertIndex].src = filename;
imageBox[videoInsertIndex].status = 'fullfilled';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment