From 8d27f95cf6e3b3289e90828ecef72e0c74f804b0 Mon Sep 17 00:00:00 2001 From: wangyuhang <139@qq.com> Date: 星期五, 18 七月 2025 15:42:47 +0800 Subject: [PATCH] 导入修改,修改项目名称 --- src/router/index.ts | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index cf80dec..7796cc6 100644 --- a/src/router/index.ts +++ b/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) { -- Gitblit v1.9.1