diff --git a/pages/user/updatePassword.vue b/pages/user/updatePassword.vue index 19edd9a..c72e577 100644 --- a/pages/user/updatePassword.vue +++ b/pages/user/updatePassword.vue @@ -94,7 +94,7 @@ this.showToast("修改成功,请重新登录") let info = getSessionLoginInfo() delete info.password - setSessionLoginInfo() + setSessionLoginInfo(info) await this.$store.dispatch(USERKEY.LOGOUT) this.goto(`login/login`, 2) },