Просмотр исходного кода

Merge branch 'feature_20260330_拜访连拍速度优化' into release

zhujindu 8 часов назад
Родитель
Сommit
d524ed9e98
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      src/components/deleteUploadImgTaskPhoto.vue

+ 8 - 8
src/components/deleteUploadImgTaskPhoto.vue

@@ -121,14 +121,14 @@ export default {
         if (this.userInfo.photoMethod == '1') {
           this.imgArr = this.fileInfoList || [];
         } else {
-          this.imgArr = [];
-          if (this.formData.mediaInfos) {
-            getTicketFun(['downloadImage']).then(() => {
-              this.toastLoading(0, '加载中,请稍候...', true);
-              let mediaInfosCopy = JSON.parse(JSON.stringify(this.formData.mediaInfos));
-              this.downloadImage(mediaInfosCopy);
-            });
-          }
+          this.imgArr = val.mediaInfos || [];
+          // if (this.formData.mediaInfos) {
+          //   getTicketFun(['downloadImage']).then(() => {
+          //     this.toastLoading(0, '加载中,请稍候...', true);
+          //     let mediaInfosCopy = JSON.parse(JSON.stringify(this.formData.mediaInfos));
+          //     this.downloadImage(mediaInfosCopy);
+          //   });
+          // }
         }
       },
       deep: true,