From 99413a3fefd6d99a915039707ed6e79cdab99ba8 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sun, 24 Dec 2023 18:49:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=87=E6=8D=A2=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E6=97=B6=E8=8F=9C=E5=8D=95=E4=B8=8D=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/userbar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layout/components/userbar.vue b/src/layout/components/userbar.vue index f5d99533..357f769e 100644 --- a/src/layout/components/userbar.vue +++ b/src/layout/components/userbar.vue @@ -165,7 +165,9 @@ export default { confirmButtonClass: "el-button--danger", }) .then(() => { - this.$router.replace({ path: "/login" }); + this.$router.replace({ path: "/login" }).then(() => { + location.reload(); + }); }) .catch(() => { //取消退出