Pārlūkot izejas kodu

feature_20260330_拜访连拍速度优化

zhujindu 3 dienas atpakaļ
vecāks
revīzija
0f1f35938a
1 mainītis faili ar 3 papildinājumiem un 6 dzēšanām
  1. 3 6
      src/components/deleteUploadImgTaskPhoto.vue

+ 3 - 6
src/components/deleteUploadImgTaskPhoto.vue

@@ -26,11 +26,7 @@
             name="close"
             size="16"
             v-on:click="deleteImg(index, urls)" />
-          <img
-            :src="urls.fileUrl || urls.mediaFileUrl"
-            width="100px"
-            height="100px"
-            @click="previewsImg(index)" />
+          <img :src="urls.fileUrl" width="100px" height="100px" @click="previewsImg(index)" />
           <!-- <img
             v-else
             :src="urls.fileUrl"
@@ -125,7 +121,8 @@ export default {
           if (this.formData.mediaInfos) {
             getTicketFun(['downloadImage']).then(() => {
               this.toastLoading(0, '加载中,请稍候...', true);
-              this.downloadImage(this.formData.mediaInfos);
+              let mediaInfosCopy = JSON.parse(JSON.stringify(this.formData.mediaInfos));
+              this.downloadImage(mediaInfosCopy);
             });
           }
         }