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() {