From ba68cd26ef4485a38dfba63829b3968cdc332b85 Mon Sep 17 00:00:00 2001 From: keqingmoe Date: Tue, 31 Dec 2024 01:44:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=86=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=80=BB=E8=BE=91=EF=BC=8C=E6=9B=B4=E6=96=B0=E6=B8=85?= =?UTF-8?q?=E9=99=A4=E4=BB=A4=E7=89=8C=E7=9A=84=E6=96=B9=E6=B3=95=E4=BB=A5?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=AE=A1=E7=90=86=E5=91=98=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/admin/RepasswdDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/admin/RepasswdDialog.vue b/ui/src/components/admin/RepasswdDialog.vue index 9f9b9e0..ce8408b 100644 --- a/ui/src/components/admin/RepasswdDialog.vue +++ b/ui/src/components/admin/RepasswdDialog.vue @@ -93,7 +93,7 @@ const repasswd = async () => { await dialog('错误', `修改密码失败:${res.error}`); } else { await dialog('信息', `修改密码成功,请重新登录。`); - authStore.clearToken(); + authStore.clearAdminToken(); } }