Browse Source

修改login路由

wyling 3 năm trước cách đây
mục cha
commit
604b13f668
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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,
   ],