沈丘营商办后台前端项目
wjt
2024-07-22 3c496c263fca58417fa9b35beb9707ad147e6c7d
src/router/index.ts
@@ -1,6 +1,7 @@
import { createWebHistory, createRouter, RouteRecordRaw } from "vue-router";
/* Layout */
import Layout from "@/layout/index.vue";
import path from "path";
/**
 * Note: 路由配置项
@@ -56,6 +57,10 @@
    path: "/401",
    component: () => import("@/views/error/401.vue"),
    hidden: true,
  },
  {
    path: '/main',
    component: () => import("@/views/main/indexMarge.vue"),
  },
  {
    path: "",
@@ -161,7 +166,7 @@
];
const router = createRouter({
  history: createWebHistory(),
  history: createWebHistory("/sqys-web/"),
  routes: constantRoutes,
  scrollBehavior(to, from, savedPosition) {
    if (savedPosition) {