Commit 86fac7bf authored by 李苏's avatar 李苏 💬

修改密码

parent f3d6b81f
......@@ -164,9 +164,9 @@ export default {
this.$refs["form"].validate(valid => {
if (valid) {
let params={
oldPassword: Base64.encode(this.user.oldPassword),
newPassword: Base64.encode(this.user.newPassword),
newPasswordConfirm: Base64.encode(this.user.confirmPassword)
oldPassword: Base64.encode(this.users.oldPassword),
newPassword: Base64.encode(this.users.newPassword),
newPasswordConfirm: Base64.encode(this.users.confirmPassword)
}
updatePassword(params).then(res=>{
if(res.success){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment