From 1ef17b5e8f754c2d5397466c9a82a23618f2b15f Mon Sep 17 00:00:00 2001 From: Sun <95302870@qq.com> Date: Thu, 14 Dec 2023 22:27:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=97=A7=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=AF=BC=E8=87=B4=E5=88=B7=E6=96=B0=E5=90=8E?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E7=99=BB=E5=BD=95=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/apps/UserInfo/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }) }