From c13bb41d45ad8cccee543a1b6cfaaa6a5a072c08 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期三, 17 十一月 2021 12:56:11 +0800
Subject: [PATCH] update: 登出導回首頁

---
 PAMapp/components/NavBar.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue
index 5d67f59..d0a7d46 100644
--- a/PAMapp/components/NavBar.vue
+++ b/PAMapp/components/NavBar.vue
@@ -86,7 +86,8 @@
     // TODO: ��TP隤����� ���蝙�
     fakeLogout(): void {
       localStorage.clear();
-      this.$router.go(0);
+      // this.$router.go(0);
+      window.location.href = '/'
     }
   }
   export enum Role {

--
Gitblit v1.8.0