Browse Source

修改login路由

wyling 3 years ago
parent
commit
604b13f668
1 changed files with 2 additions and 1 deletions
  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,
   ],