From cb6492b2a9cc14cdd651ff37e4063c475f4c0608 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 22 Mar 2022 16:16:50 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=A4=9A=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E5=90=8E=20=E5=8F=A6?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E7=99=BD=E5=B1=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/layout/header.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/layout/header.vue b/nezha-fronted/src/components/layout/header.vue index b68f3b8a9..431b9743f 100644 --- a/nezha-fronted/src/components/layout/header.vue +++ b/nezha-fronted/src/components/layout/header.vue @@ -192,7 +192,7 @@ export default { }, testUser () { if (this.username != localStorage.getItem('nz-username')) { - window.location.reload() + this.$router.go(0) } } },