Browse Source

新增巡查出现状态问2的情况

xiaowang-bug
是小王呀\24601 1 year ago
parent
commit
ec2640a672
  1. 3
      subpages/InspectionReport/pages/InspectionReport/InspectionReport.js

3
subpages/InspectionReport/pages/InspectionReport/InspectionReport.js

@ -400,8 +400,7 @@ Page({
}); });
}, },
addAnother() { addAnother() {
let newArr = this.data.addHiddenDangeList.concat({ hazardDesc: this.data.newContent, hazardStatus: 2}); let newArr = this.data.addHiddenDangeList.concat({ hazardDesc: this.data.newContent, hazardStatus: 0});
console.log()
this.setData({ this.setData({
addHiddenDangeList: newArr, addHiddenDangeList: newArr,
newContent: '', // 清空输入框的值 newContent: '', // 清空输入框的值

Loading…
Cancel
Save