From 39cc55bebc53b06a75571b97ce6eaed807f31c42 Mon Sep 17 00:00:00 2001
From: 王恒 <318726284@qq.com>
Date: 星期三, 13 八月 2025 17:37:10 +0800
Subject: [PATCH] '调整计划管理字段'
---
src/router/index.ts | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index ab58e99..fd6de43 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: 璺敱閰嶇疆椤�
@@ -58,16 +59,20 @@
hidden: true,
},
{
+ path: '/main',
+ component: () => import("@/views/main/indexMarge.vue"),
+ },
+ {
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 },
+ // },
],
},
{
@@ -161,7 +166,8 @@
];
const router = createRouter({
- history: createWebHistory(),
+ // history: createWebHistory("/sqys-web/"),
+ history: createWebHistory("/smrq/"),
routes: constantRoutes,
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {
--
Gitblit v1.9.1