From 10eff77494891679d8ec17d80392b967c6463774 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Thu, 13 Oct 2022 15:05:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=99=BB=E5=BD=95404?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/base/store/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/base/store/user.ts b/src/modules/base/store/user.ts index bfbd1ca..facf701 100644 --- a/src/modules/base/store/user.ts +++ b/src/modules/base/store/user.ts @@ -77,7 +77,7 @@ export const useUserStore = defineStore("user", function () { // 退出 async function logout() { clear(); - router.clear(); + // router.clear(); router.push("/login"); }