Ver código fonte

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

zhujindu 1 semana atrás
pai
commit
237556c87e
1 arquivos alterados com 5 adições e 5 exclusões
  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);