From c193be6dc25207119ef25b57043a2cf54616c342 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 17 十一月 2025 16:10:00 +0800
Subject: [PATCH] 修改新增
---
src/router/index.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index aa3e70c..dad8200 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -27,6 +27,19 @@
// 公共路由
export const constantRoutes = [
{
+ path: '/',
+ component: Layout,
+ redirect: '/menuIndex',
+ children: [
+ {
+ path: 'menuIndex',
+ component: () => import('@/views/work/menuIndex/index'),
+ name: 'MenuIndex',
+ meta: { title: '首页', icon: 'druid', affix: true }
+ }
+ ]
+ },
+ {
path: '/redirect',
component: Layout,
hidden: true,
@@ -58,6 +71,11 @@
hidden: true
},
{
+ path: '/menuPage',
+ component: () => import('@/views/menuPage'),
+ hidden: true
+ },
+ {
path: '/courseManage',
component: Layout,
redirect: '/onlineEducation/courseManage',
--
Gitblit v1.9.2