|
@ -6,7 +6,6 @@ const router = createRouter({ |
|
|
{ path: '/login', name: "login", component: () => import("../views/login.vue") }, |
|
|
{ path: '/login', name: "login", component: () => import("../views/login.vue") }, |
|
|
{ path: '/', redirect: "/login" }, |
|
|
{ path: '/', redirect: "/login" }, |
|
|
{ path: '/test', component: () => import("../views/z.vue") }, |
|
|
{ path: '/test', component: () => import("../views/z.vue") }, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
meta: { requireAuth: true }, |
|
|
meta: { requireAuth: true }, |
|
|
path: '/index', component: () => import("../views/index.vue"), |
|
|
path: '/index', component: () => import("../views/index.vue"), |
|
|