From acb084956e5b44db2fe707c24ea69ddc05bfee49 Mon Sep 17 00:00:00 2001
From: yaolonglong <yaolonglong15@163.com>
Date: 星期一, 03 十一月 2025 10:42:12 +0800
Subject: [PATCH] 首页展示暂时显示固定数
---
src/router/index.ts | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index 1971ea6..6040a0b 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,9 +59,13 @@
hidden: true,
},
{
+ path: '/main',
+ component: () => import("@/views/main/indexMarge.vue"),
+ },
+ {
path: "",
component: Layout,
- redirect: "/index",
+ redirect: "/home",
children: [
// {
// path: "/index",
@@ -161,7 +166,7 @@
];
const router = createRouter({
- history: createWebHistory(),
+ history: createWebHistory("/smrq/"),
routes: constantRoutes,
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {
--
Gitblit v1.9.1