yangan
2024-07-30 4e4842518007726677c1dd23dc57f3448e7b08b4
pages/login/resetPassword/resetPassword.vue
@@ -54,7 +54,7 @@
        </div>
      </view>
         <u-form-item prop="secondPassword"
            label="二次确认"
            label="确认密码"
            required
            borderBottom>
            <u-input v-if='inputType==="password"'
@@ -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
      }
      },