浏览代码

优化参数为 nul bug

zhujindu 1 年之前
父节点
当前提交
6aac23e90f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 (