注销机房用户清除token
This commit is contained in:
@@ -97,8 +97,6 @@ router.beforeEach((to, from, next) => {
|
||||
let isMurmur = JSON.parse(getIsMurmur)
|
||||
if(isMurmur&& murmurStr){
|
||||
const toName = to.name === 'login';
|
||||
console.log(to);
|
||||
|
||||
if (toName) {
|
||||
next({ name: 'home' });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user