调整帮助中心的菜单位置

pull/430/head
王良 2024-12-10 14:14:06 +08:00
parent 6dd452b558
commit af46d0a208
2 changed files with 2 additions and 2 deletions

View File

@ -14,11 +14,11 @@ const routes = [
{ path: '/server', component: Server }, { path: '/server', component: Server },
{ path: '/proxy', component: Proxy }, { path: '/proxy', component: Proxy },
{ path: '/setting', component: Setting }, { path: '/setting', component: Setting },
{ path: '/help', component: Help },
{ path: '/plugin/node', component: Node }, { path: '/plugin/node', component: Node },
{ path: '/plugin/git', component: Git }, { path: '/plugin/git', component: Git },
{ path: '/plugin/pip', component: Pip }, { path: '/plugin/pip', component: Pip },
{ path: '/plugin/overwall', component: Overwall }, { path: '/plugin/overwall', component: Overwall },
{ path: '/help', component: Help },
] ]
export default routes export default routes

View File

@ -9,13 +9,13 @@ export default function createMenus (app) {
{ title: '加速服务', path: '/server', icon: 'thunderbolt' }, { title: '加速服务', path: '/server', icon: 'thunderbolt' },
{ title: '系统代理', path: '/proxy', icon: 'deployment-unit' }, { title: '系统代理', path: '/proxy', icon: 'deployment-unit' },
{ title: '设置', path: '/setting', icon: 'setting' }, { title: '设置', path: '/setting', icon: 'setting' },
{ title: '帮助中心', path: '/help', icon: 'star' },
{ {
title: '应用', title: '应用',
path: '/plugin', path: '/plugin',
icon: 'api', icon: 'api',
children: plugins, children: plugins,
}, },
{ title: '帮助中心', path: '/help', icon: 'star' },
] ]
if (app.$global && app.$global.setting && app.$global.setting.overwall) { if (app.$global && app.$global.setting && app.$global.setting.overwall) {
plugins.push({ title: '增强功能', path: '/plugin/overwall', icon: 'global' }) plugins.push({ title: '增强功能', path: '/plugin/overwall', icon: 'global' })