diff --git a/src/components/apps/UserInfo/index.vue b/src/components/apps/UserInfo/index.vue index c7a8380..afbc45b 100644 --- a/src/components/apps/UserInfo/index.vue +++ b/src/components/apps/UserInfo/index.vue @@ -61,6 +61,7 @@ async function logoutApi() { panelState.removeState() ms.success(t('settingUserInfo.logoutSuccess')) router.push({ path: '/login' }) + location.reload()// 强制刷新一下页面 } function handleSaveInfo() { @@ -107,7 +108,6 @@ function handleUpdatePassword(e: MouseEvent) { }).catch(() => { ms.error(t('common.serverError')) }) - console.log('aaa') }) }