From a2feea0b542af2e664da1ab7052174d09c5076a8 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 13 Mar 2024 14:17:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20base=20=E9=80=80=E5=87=BA=E6=97=B6?= =?UTF-8?q?=E7=94=A8location.reload=E9=87=8D=E7=BD=AE=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/userbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/components/userbar.vue b/src/layout/components/userbar.vue index c54d57c5..78cbb47c 100644 --- a/src/layout/components/userbar.vue +++ b/src/layout/components/userbar.vue @@ -166,7 +166,7 @@ export default { }) .then(() => { this.$TOOL.data.remove("TOKEN") - this.$router.push(`/login?redirect=${this.$route.fullPath}`) + this.$router.push(`/login?redirect=${this.$route.fullPath}`).then(() => { location.reload() }) }) .catch(() => { //取消退出