zhujindu 1 vuosi sitten
vanhempi
commit
69c5eec46b
2 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 1 0
      src/components/uploadVNormal.vue
  2. 4 1
      src/views/deviceWithin/addStoreVisit.vue

+ 1 - 0
src/components/uploadVNormal.vue

@@ -346,6 +346,7 @@ export default {
         if (res.isUpdate) form.isUpdate = 'true';
         addPhotoToDB(form).then((resData) => {
           if (res.code == 200) {
+            console.log(resData);
             res.data.fileId = resData.data.fileId;
             this.normalFlow(res);
           }

+ 4 - 1
src/views/deviceWithin/addStoreVisit.vue

@@ -3977,7 +3977,10 @@ export default {
           if (photoIdentifyType == 1) {
             this.collectionItemList[this.indeximg].fileInfoList = [val];
             console.log(
-              JSON.stringify('fileInfoList111=' + this.collectionItemList[this.indeximg])
+              JSON.stringify(
+                'fileInfoList111=' +
+                  JSON.stringify(this.collectionItemList[this.indeximg].fileInfoList)
+              )
             );
           } else {
             this.collectionItemList[this.indeximg].fileInfoList.push(val);