Quellcode durchsuchen

Merge branch 'feature_20260115_直发类色卡销售发放时必须拍照' into uat(dev)

zhujindu vor 1 Woche
Ursprung
Commit
237556c87e
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5 5
      src/views/deviceWithin/addStoreVisit.vue

+ 5 - 5
src/views/deviceWithin/addStoreVisit.vue

@@ -5196,11 +5196,11 @@ export default {
     },
     deleteImg() {},
     uploadWLImgClick(data) {
-      console.log(data);
-      // this.wuliaoPhotoImg.push({
-      //   fileUrl: data.fileUrl,
-      //   id: data.id,
-      // });
+      this.wuliaoPhotoImg = this.wuliaoPhotoImg ? this.wuliaoPhotoImg : [];
+      this.wuliaoPhotoImg.push({
+        fileUrl: data.fileUrl,
+        id: data.id,
+      });
     },
     tipTitle(val) {
       this.$toast(val);