From 576e3c8159fab309fc548e131d5aa19f7bf97cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Thu, 5 May 2022 10:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=87=BA=E8=B7=B3=E8=BD=AC=E5=9B=9E?= =?UTF-8?q?=E7=99=BB=E9=99=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/layout/components/Navbar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/layout/components/Navbar.vue b/src/views/layout/components/Navbar.vue index 75670e59..09b73272 100644 --- a/src/views/layout/components/Navbar.vue +++ b/src/views/layout/components/Navbar.vue @@ -224,8 +224,8 @@ export default { logout() { this.$store.dispatch('LogOut').then(() => { //location.reload()// In order to re-instantiate the vue-router object to avoid bugs - //this.$router.replace({path:'/login'}) - location.replace('/'); + //this.$router.replace({path:'/login'}) + location.replace('/'+process.env.CONTEXT+'/'+process.env.VERSION+'/'); }) }, showSelectShopMethod() {