Browse Source

又完善了Lab1(路由问题)

chillqi 2 years ago
parent
commit
8fad3479c8
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/router/index.ts

+ 0 - 1
src/router/index.ts

@@ -57,7 +57,6 @@ router.beforeEach((to, _, next) => {
     } else {
         if (to.path === '/login') {
             next();
-            return
         } else if (to.path === '/register') {
             next()
         } else {