소스 검색

Merge branch 'release'

zhujindu 14 시간 전
부모
커밋
7a3ea0e23c
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,