|
|
@@ -205,7 +205,9 @@ export default {
|
|
|
};
|
|
|
}),
|
|
|
);
|
|
|
- this.syncUpload(localIds);
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.syncUpload(localIds);
|
|
|
+ });
|
|
|
} else {
|
|
|
this.$emit('upDataDetail');
|
|
|
}
|
|
|
@@ -228,7 +230,8 @@ export default {
|
|
|
localId: localId,
|
|
|
isShowProgressTips: 0, // 默认为1,显示进度提示
|
|
|
success: (res) => {
|
|
|
- this.imgArr[localIds.length - 1].mediaId = res.serverId;
|
|
|
+ console.log(localIds.length);
|
|
|
+ this.imgArr[localIds.length].mediaId = res.serverId;
|
|
|
this.syncUpload(localIds, callback);
|
|
|
},
|
|
|
});
|