From be83e09f1cbfd7915193176df07ab761b18f279e Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 25 九月 2024 10:20:48 +0800
Subject: [PATCH] 机构切换优化
---
src/router/index.js | 69 ++++++++++++++--------------------
1 files changed, 28 insertions(+), 41 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 787d80d..b259f99 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -43,32 +43,32 @@
hidden: true,
},
- {
- path: "/",
- component: Layout,
- redirect: "/home",
- children: [
- {
- path: "home",
- name: "home",
- component: () => import("@/views/home/index"),
- meta: { title: "棣栭〉", icon: "dashboard" },
- },
- ],
- },
- {
- path: "/",
- component: Layout,
- redirect: "/curriculum",
- children: [
- {
- path: "/curriculum",
- name: "Curriculum",
- component: () => import("@/views/curriculum/index"),
- meta: { title: "璇捐〃", icon: "table" },
- },
- ],
- },
+ // {
+ // path: "/",
+ // component: Layout,
+ // redirect: "/home",
+ // children: [
+ // {
+ // path: "home",
+ // name: "home",
+ // component: () => import("@/views/home/index"),
+ // meta: { title: "棣栭〉", icon: "dashboard" },
+ // },
+ // ],
+ // },
+ // {
+ // path: "/",
+ // component: Layout,
+ // redirect: "/curriculum",
+ // children: [
+ // {
+ // path: "/curriculum",
+ // name: "Curriculum",
+ // component: () => import("@/views/curriculum/index"),
+ // meta: { title: "璇捐〃", icon: "table" },
+ // },
+ // ],
+ // },
{
path: "/",
component: Layout,
@@ -78,20 +78,7 @@
path: "/student",
name: "Student",
component: () => import("@/views/student/index"),
- meta: { title: "瀛﹀憳", icon: "table" },
- },
- ],
- },
- {
- path: "/",
- component: Layout,
- redirect: "/session",
- children: [
- {
- path: "/session",
- name: "Session",
- component: () => import("@/views/session/index"),
- meta: { title: "鎶ュ憡", icon: "table" },
+ meta: { title: "瀛﹀憳鍒楄〃", icon: "table" },
},
],
},
@@ -104,7 +91,7 @@
path: "/class",
name: "Class",
component: () => import("@/views/class/index"),
- meta: { title: "鐝骇", icon: "table" },
+ meta: { title: "鐝骇鍒楄〃", icon: "table" },
},
],
},
--
Gitblit v1.8.0