TM
2020-12-16 b8f1913c5077437347ae3e311e01fbeb5e4dd5ff
pages/forgetPassword/forgetPassword.js
@@ -50,11 +50,11 @@
      })
    }else if(code == 2){
      this.setData({
        'info.newPwd':md5.hex_md5(e.detail.value)
        'info.newPwd':e.detail.value
      })
    }else{
      this.setData({
        newPwdTwo: md5.hex_md5(e.detail.value)
        newPwdTwo:e.detail.value
      })
    }
  },
@@ -89,7 +89,7 @@
    }
    if(!validator.checkPassword(this.data.info.newPwd)){
      my.showToast({
        content: '密码为8-16数字字母组合',
        content: '新密码为8-16数字字母组合',
        duration: 2000
      })
      return
@@ -118,7 +118,9 @@
      err=>{},
      false,
      {
        ...this.data.info
        mblNo:this.data.info.mblNo,
        verCode:this.data.info.verCode,
        newPwd: md5.hex_md5(this.data.info.mblNo+this.data.info.newPwd)
      }
    )
  }