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

修改密码

parent f3d6b81f
...@@ -164,9 +164,9 @@ export default { ...@@ -164,9 +164,9 @@ export default {
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
let params={ let params={
oldPassword: Base64.encode(this.user.oldPassword), oldPassword: Base64.encode(this.users.oldPassword),
newPassword: Base64.encode(this.user.newPassword), newPassword: Base64.encode(this.users.newPassword),
newPasswordConfirm: Base64.encode(this.user.confirmPassword) newPasswordConfirm: Base64.encode(this.users.confirmPassword)
} }
updatePassword(params).then(res=>{ updatePassword(params).then(res=>{
if(res.success){ 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