测试路由重定向
This commit is contained in:
@@ -90,7 +90,11 @@ router.beforeEach((to, from, next) => {
|
||||
return false
|
||||
}
|
||||
});
|
||||
console.log(routeExists);
|
||||
|
||||
if (routeExists) {
|
||||
console.log(isMurmur, murmurStr, token);
|
||||
|
||||
if (isMurmur && murmurStr && token) {
|
||||
const toName = to.name === 'login';
|
||||
if (toName) {
|
||||
|
||||
Reference in New Issue
Block a user