测试路由重定向

This commit is contained in:
X1627315083
2024-03-04 16:21:03 +08:00
parent 8f06235e63
commit 2d46e40d44

View File

@@ -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) {