From ec2640a6728f34d109ddcc1a6b3bcb8952652d81 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: Thu, 18 Jul 2024 09:48:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B7=A1=E6=9F=A5=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=8A=B6=E6=80=81=E9=97=AE2=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/InspectionReport/InspectionReport.js | 3 +-- subpages/securityCheck/pages/securityCheck.wxml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js index 36361b8..8bda634 100644 --- a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js +++ b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js @@ -400,8 +400,7 @@ Page({ }); }, addAnother() { - let newArr = this.data.addHiddenDangeList.concat({ hazardDesc: this.data.newContent, hazardStatus: 2}); - console.log() + let newArr = this.data.addHiddenDangeList.concat({ hazardDesc: this.data.newContent, hazardStatus: 0}); this.setData({ addHiddenDangeList: newArr, newContent: '', // 清空输入框的值 diff --git a/subpages/securityCheck/pages/securityCheck.wxml b/subpages/securityCheck/pages/securityCheck.wxml index e976c0d..adebbfc 100644 --- a/subpages/securityCheck/pages/securityCheck.wxml +++ b/subpages/securityCheck/pages/securityCheck.wxml @@ -2,7 +2,7 @@ - +