Browse Source

优化参数为 nul bug

zhujindu 1 năm trước cách đây
mục cha
commit
6aac23e90f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/deviceWithin/addStoreVisit.vue

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

@@ -2422,8 +2422,8 @@ export default {
               firstCollectionId: this.collectionItemList[b].firstCollectionId,
               answerType: this.collectionItemList[b].answerType,
               answerValue: this.collectionItemList[b].answerValue,
-              deviceCode: this.collectionItemList[b].deviceCode, //设备编号
-              putInCode: this.collectionItemList[b].putInCode, //投放编号
+              deviceCode: this.collectionItemList[b].deviceCode || "", //设备编号
+              putInCode: this.collectionItemList[b].putInCode || "", //投放编号
             });
           }
           if (