Explorar el Código

又完善了Lab1(路由问题)

chillqi hace 2 años
padre
commit
8fad3479c8
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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 {