|
@@ -52,7 +52,7 @@ export default {
|
|
|
},
|
|
|
logout() {
|
|
|
this.$store.dispatch('LogOut').then(() => {
|
|
|
- location.reload(true) // 为了重新实例化vue-router对象 避免bug
|
|
|
+ location.reload(location.href) // 为了重新实例化vue-router对象 避免bug
|
|
|
// console.log(location.hostname+'/mall')
|
|
|
// location.href = location.hostname+'/mall'
|
|
|
})
|