Commit a42a8445 authored by 张伯涛's avatar 张伯涛

修改密码后直接跳转登录页token没有清

parent 0ea4de45
...@@ -87,10 +87,10 @@ export default { ...@@ -87,10 +87,10 @@ export default {
} }
updateUserPwd(params).then(res => { updateUserPwd(params).then(res => {
this.$message.success('密码修改成功!') this.$message.success('密码修改成功!')
this.$router.push('/login') // this.$router.push('/login')
// this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('FedLogOut').then(() => {
// location.reload() location.reload()
// }) })
}) })
} else { } else {
return false return false
......
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