|
@@ -393,7 +393,12 @@ export default {
|
|
this.lists[index].response = result;
|
|
this.lists[index].response = result;
|
|
this.lists[index].progress = 0;
|
|
this.lists[index].progress = 0;
|
|
this.lists[index].error = false;
|
|
this.lists[index].error = false;
|
|
- this.$emit('on-success', result, index, this.lists);
|
|
|
|
|
|
+ let data = result
|
|
|
|
+ this.$emit('on-success', data, index, this.lists);
|
|
|
|
+ uni.hideLoading();
|
|
|
|
+ this.uploading = false;
|
|
|
|
+ this.uploadFile(index + 1);
|
|
|
|
+ this.$emit('on-change', data, index, this.lists);
|
|
}
|
|
}
|
|
)
|
|
)
|
|
// // 创建上传对象
|
|
// // 创建上传对象
|