Przeglądaj źródła

修改login路由

wyling 3 lat temu
rodzic
commit
604b13f668
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/route/index.ts

+ 2 - 1
src/route/index.ts

@@ -60,7 +60,8 @@ const router = createRouter({
   routes: [
     {
       path: "/",
-      redirect: "/login",
+      // redirect: "/login",
+      component:()=>import('@/views/login/index.vue')
     },
     ...aotuRoutes,
   ],