From d4e9b847f4ef5f12674d60255696b234444a2f44 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, 22 Apr 2024 14:58:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E8=AF=A6=E6=83=85=E5=8D=B4?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpages/searchResult/pages/resiInfo/resiInfo.js | 13 ++++++++----- subpages/searchResult/pages/resiInfo/resiInfo.wxml | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/subpages/searchResult/pages/resiInfo/resiInfo.js b/subpages/searchResult/pages/resiInfo/resiInfo.js index bcbc719..56bc48b 100644 --- a/subpages/searchResult/pages/resiInfo/resiInfo.js +++ b/subpages/searchResult/pages/resiInfo/resiInfo.js @@ -778,9 +778,6 @@ Page({ api.isUpdater(this.data.resiId).then(result => { if (result.code==0) { if (result.data==true) { - this.setData({ - checkPassword:true - }) this.onConfirmassword() } else{ @@ -799,14 +796,20 @@ Page({ password:e.detail.value }) }, + // 关闭 onClosePassword(){ this.setData({ checkPassword:false }) }, - onConfirmassword(){ + // + onClickconfirm(){ + this.onConfirmassword(this.data.password) + }, + // + onConfirmassword(password){ let parm = { - password:this.data.password + password } api.getResiUserInfo(this.data.resiId,parm).then(res=>{ if(res.code === 0){ diff --git a/subpages/searchResult/pages/resiInfo/resiInfo.wxml b/subpages/searchResult/pages/resiInfo/resiInfo.wxml index e6bdb89..491a042 100644 --- a/subpages/searchResult/pages/resiInfo/resiInfo.wxml +++ b/subpages/searchResult/pages/resiInfo/resiInfo.wxml @@ -336,7 +336,7 @@ 走访打卡 - +