|
@@ -6,11 +6,6 @@ import { SESSION_STORAGE_KEYS } from "@/constants/storage";
|
|
|
|
|
|
const router = createRouter({
|
|
|
routes: [
|
|
|
- {
|
|
|
- path: "/login",
|
|
|
- name: "login",
|
|
|
- component: () => import("@/pages/login/index.vue"),
|
|
|
- },
|
|
|
{
|
|
|
path: "/",
|
|
|
component: LayOut,
|
|
@@ -31,12 +26,17 @@ const router = createRouter({
|
|
|
component: () => import("@/pages/user-manage/index.vue"),
|
|
|
},
|
|
|
{
|
|
|
- path: "/|school",
|
|
|
+ path: "school",
|
|
|
name: "school",
|
|
|
component: () => import("@/pages/school-manage/index.vue"),
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
+ {
|
|
|
+ path: "/",
|
|
|
+ name: "login",
|
|
|
+ component: () => import("@/pages/login/index.vue"),
|
|
|
+ },
|
|
|
],
|
|
|
history: createWebHistory(),
|
|
|
});
|