@@ -49,7 +49,7 @@ router.beforeEach(async (to, from, next) => {
}
} else {
- if (to.path == "/") {
+ if (to.path == "/" || to.path == "/login") {
next("/index");
next();