|
|
@ -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){ |
|
|
|