mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
去掉不用的请求
This commit is contained in:
@@ -724,14 +724,6 @@
|
||||
// this.$message.error(res.message);
|
||||
// }
|
||||
// })
|
||||
apiUserBasic.modifyPassword({oldPassword:this.passwordForm.oldPass,newPassword:this.passwordForm.newPass,confirmPassword:this.passwordForm.confirmPass}).then(res=>{
|
||||
if(res.status==200){
|
||||
this.$message.success('修改密码成功')
|
||||
this.dialogVisiblePassword = false;
|
||||
}else{
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user