Skip to content

Commit

Permalink
调整帮助中心的菜单位置
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Dec 10, 2024
1 parent 6dd452b commit af46d0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/gui/src/view/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ const routes = [
{ path: '/server', component: Server },
{ path: '/proxy', component: Proxy },
{ path: '/setting', component: Setting },
{ path: '/help', component: Help },
{ path: '/plugin/node', component: Node },
{ path: '/plugin/git', component: Git },
{ path: '/plugin/pip', component: Pip },
{ path: '/plugin/overwall', component: Overwall },
{ path: '/help', component: Help },
]

export default routes
2 changes: 1 addition & 1 deletion packages/gui/src/view/router/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ export default function createMenus (app) {
{ title: '加速服务', path: '/server', icon: 'thunderbolt' },
{ title: '系统代理', path: '/proxy', icon: 'deployment-unit' },
{ title: '设置', path: '/setting', icon: 'setting' },
{ title: '帮助中心', path: '/help', icon: 'star' },
{
title: '应用',
path: '/plugin',
icon: 'api',
children: plugins,
},
{ title: '帮助中心', path: '/help', icon: 'star' },
]
if (app.$global && app.$global.setting && app.$global.setting.overwall) {
plugins.push({ title: '增强功能', path: '/plugin/overwall', icon: 'global' })
Expand Down

0 comments on commit af46d0a

Please sign in to comment.