Commit a0d865e5 authored by 孙浩's avatar 孙浩

管理界面修改密码

parent 0f3cb8a5
...@@ -106,7 +106,7 @@ export function updateUserProfile(data) { ...@@ -106,7 +106,7 @@ export function updateUserProfile(data) {
// 用户密码重置 // 用户密码重置
export function updateUserPwd(data) { export function updateUserPwd(data) {
return request({ return request({
url: '/system/user/resetPassword', url: '/system/user/updatePwd',
method: 'put', method: 'put',
params: data params: data
}) })
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
} }
updateUserPwd(params).then(res => { updateUserPwd(params).then(res => {
this.$message.success('密码修改成功!') this.$message.success('密码修改成功!')
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('FedLogOut').then(() => {
location.reload() location.reload()
}) })
}) })
......
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