Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
b7450e4b
提交
b7450e4b
authored
9月 16, 2026
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 更新菜单项名称和图标
上级
98058285
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
40 行增加
和
40 行删除
+40
-40
menus.ts
src/assets/menus.ts
+39
-39
Main.vue
src/components/layout/Main.vue
+1
-1
没有找到文件。
src/assets/menus.ts
浏览文件 @
b7450e4b
...
@@ -11,12 +11,12 @@ import {
...
@@ -11,12 +11,12 @@ import {
Edit
,
Edit
,
User
,
User
,
Filter
,
Filter
,
Coordinate
,
Notebook
,
Notebook
,
Picture
,
Picture
,
UserFilled
,
UserFilled
,
Avatar
,
Promotion
,
Promotion
,
School
,
Reading
,
Guide
,
Guide
,
QuestionFilled
,
QuestionFilled
,
EditPen
,
EditPen
,
...
@@ -94,7 +94,7 @@ export const menus: IMenuItem[] = [
...
@@ -94,7 +94,7 @@ export const menus: IMenuItem[] = [
},
},
{
{
tag
:
'v1-learning'
,
tag
:
'v1-learning'
,
name
:
'
基础信息
'
,
name
:
'
教务管理
'
,
path
:
'/admin'
,
path
:
'/admin'
,
children
:
[
children
:
[
{
{
...
@@ -105,7 +105,7 @@ export const menus: IMenuItem[] = [
...
@@ -105,7 +105,7 @@ export const menus: IMenuItem[] = [
},
},
{
{
tag
:
'v1-learning-teacher-list'
,
tag
:
'v1-learning-teacher-list'
,
icon
:
School
,
icon
:
Avatar
,
name
:
'教师管理'
,
name
:
'教师管理'
,
path
:
'/admin/staff'
,
path
:
'/admin/staff'
,
},
},
...
@@ -117,7 +117,7 @@ export const menus: IMenuItem[] = [
...
@@ -117,7 +117,7 @@ export const menus: IMenuItem[] = [
},
},
{
{
tag
:
'v1-learning-class-list'
,
tag
:
'v1-learning-class-list'
,
icon
:
School
,
icon
:
Reading
,
name
:
'班级管理'
,
name
:
'班级管理'
,
path
:
'/admin/class'
,
path
:
'/admin/class'
,
},
},
...
@@ -146,40 +146,6 @@ export const menus: IMenuItem[] = [
...
@@ -146,40 +146,6 @@ export const menus: IMenuItem[] = [
// },
// },
],
],
},
},
{
tag
:
'v1-backend-data-dictionary-list'
,
name
:
'系统管理'
,
path
:
'/system'
,
children
:
[
{
tag
:
'v1-backend-data-dictionary-list'
,
icon
:
Notebook
,
name
:
'数据字典'
,
path
:
'/system/dictionary'
,
},
{
tag
:
'v1-backend-cover-list'
,
icon
:
Picture
,
name
:
'封面管理'
,
path
:
'/system/cover'
,
},
{
tag
:
'v1-backend-suggestion-list'
,
icon
:
ChatDotRound
,
name
:
' 投诉建议管理'
,
path
:
'/system/suggestion'
,
},
...(
import
.
meta
.
env
.
MODE
===
'school'
?
[
{
icon
:
Setting
,
name
:
'大模型配置'
,
path
:
'/system/llm'
,
},
]
:
[]),
],
},
{
{
tag
:
'v1-teaching'
,
tag
:
'v1-teaching'
,
name
:
'教学管理'
,
name
:
'教学管理'
,
...
@@ -238,4 +204,38 @@ export const menus: IMenuItem[] = [
...
@@ -238,4 +204,38 @@ export const menus: IMenuItem[] = [
:
[]),
:
[]),
],
],
},
},
{
tag
:
'v1-backend-data-dictionary-list'
,
name
:
'系统管理'
,
path
:
'/system'
,
children
:
[
{
tag
:
'v1-backend-data-dictionary-list'
,
icon
:
Notebook
,
name
:
'数据字典'
,
path
:
'/system/dictionary'
,
},
{
tag
:
'v1-backend-cover-list'
,
icon
:
Picture
,
name
:
'封面管理'
,
path
:
'/system/cover'
,
},
{
tag
:
'v1-backend-suggestion-list'
,
icon
:
ChatDotRound
,
name
:
' 投诉建议管理'
,
path
:
'/system/suggestion'
,
},
...(
import
.
meta
.
env
.
MODE
===
'school'
?
[
{
icon
:
Setting
,
name
:
'大模型配置'
,
path
:
'/system/llm'
,
},
]
:
[]),
],
},
]
]
src/components/layout/Main.vue
浏览文件 @
b7450e4b
...
@@ -28,7 +28,7 @@ const cacheScope = computed(() => {
...
@@ -28,7 +28,7 @@ const cacheScope = computed(() => {
<div
class=
"app-main-container"
>
<div
class=
"app-main-container"
>
<router-view
v-slot=
"
{ Component, route: currentRoute }">
<router-view
v-slot=
"
{ Component, route: currentRoute }">
<keep-alive
:key=
"cacheScope"
:max=
"10"
>
<keep-alive
:key=
"cacheScope"
:max=
"10"
>
<component
:is=
"Component"
:key=
"currentRoute.
p
ath"
/>
<component
:is=
"Component"
:key=
"currentRoute.
fullP
ath"
/>
</keep-alive>
</keep-alive>
</router-view>
</router-view>
</div>
</div>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论