Parcourir la source

修改login路由

wyling il y a 3 ans
Parent
commit
604b13f668
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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,
   ],