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