From b661b3f306ff95957e44be29f67e5dc1212d2645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Mon, 20 May 2024 09:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=90=88=E6=A0=BC=E9=9A=90=E6=82=A3?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E6=9C=80=E5=B0=91=E8=BE=93=E5=85=A5=E4=B8=80?= =?UTF-8?q?=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/InspectionReport/InspectionReport.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'