| | |
| | | // this.getUserInfo(params.phone, params.idCard) |
| | | // } |
| | | if(params.userInfo) { |
| | | console.log(JSON.parse(params.userInfo),'userInfo====') |
| | | this.modelForm.username = JSON.parse(params.userInfo).username |
| | | this.modelForm.userId = JSON.parse(params.userInfo).userId.toString() //userId |
| | | if(JSON.parse(params.userInfo).isShowPassword) { |
| | |
| | | this.isShowPassword = true |
| | | } |
| | | }else { |
| | | this.modelForm.username = uni.getStorageSync('userInfo').username |
| | | this.modelForm.userId = uni.getStorageSync('userInfo').userId.toString() |
| | | this.isShowPassword = true |
| | | } |
| | | }, |