xiejiahao 4 years ago
parent
commit
893e65f6aa
  1. 2
      src/views/layout/components/Navbar.vue

2
src/views/layout/components/Navbar.vue

@ -225,7 +225,7 @@ export default {
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('/');
location.replace('/'+process.env.CONTEXT+'/'+process.env.VERSION+'/');
})
},
showSelectShopMethod() {

Loading…
Cancel
Save