diff --git a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js index 098a458..9759e34 100644 --- a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js +++ b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js @@ -150,7 +150,8 @@ Page({ }) return false } - if(this.data.checkResultFlag == 0 && this.data.hiddenDangeList.length<0){ + console.log( this.data.addHiddenDangeLis) + if(this.data.checkResultFlag == 0 && this.data.addHiddenDangeList){ wx.showToast({ title: '请填写隐患明细', icon:'none'