浏览代码

优化店铺详情页和店铺编辑也定位功能和图片批量上传

zhujindu 1 年之前
父节点
当前提交
f26c5241aa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/uploadImgVStore.vue

+ 1 - 1
src/components/uploadImgVStore.vue

@@ -162,7 +162,7 @@ export default {
         localId: this.localIds[this.num],
         localId: this.localIds[this.num],
         isShowProgressTips: 1,
         isShowProgressTips: 1,
         success: (uploadRes) => {
         success: (uploadRes) => {
-          this.push(uploadRes.serverId);
+          this.serverIdArr.push(uploadRes.serverId);
           console.log('serverId=' + uploadRes.serverId);
           console.log('serverId=' + uploadRes.serverId);
           this.num++;
           this.num++;
           if (this.num == this.localIds.length) {
           if (this.num == this.localIds.length) {