| | |
| | | {
|
| | | path: "",
|
| | | component: Layout,
|
| | | redirect: "/index",
|
| | | redirect: "/home",
|
| | | children: [
|
| | | {
|
| | | path: "/index",
|
| | | component: () => import("@/views/index.vue"),
|
| | | name: "Index",
|
| | | meta: { title: "函件信息", icon: "dashboard", affix: true },
|
| | | },
|
| | | // {
|
| | | // path: "/index",
|
| | | // component: () => import("@/views/index.vue"),
|
| | | // name: "Index",
|
| | | // meta: { title: "函件信息", icon: "dashboard", affix: true },
|
| | | // },
|
| | | ],
|
| | | },
|
| | | {
|
| | |
| | | ];
|
| | |
|
| | | const router = createRouter({
|
| | | history: createWebHistory(),
|
| | | history: createWebHistory("/sqys-web/"),
|
| | | routes: constantRoutes,
|
| | | scrollBehavior(to, from, savedPosition) {
|
| | | if (savedPosition) {
|