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

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

Loading…
Cancel
Save