wk
2024-06-29 65d1e61e0546a5a7b42381b1f11a5ad6ed2ce145
pages/login/resetPassword/resetPassword.vue
@@ -223,7 +223,6 @@
         //    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) {
@@ -232,6 +231,8 @@
          this.isShowPassword = true
        }
      }else {
        this.modelForm.username = uni.getStorageSync('userInfo').username
        this.modelForm.userId = uni.getStorageSync('userInfo').userId.toString()
        this.isShowPassword = true
      }
      },