diff --git a/packages/gui/src/view/router/index.js b/packages/gui/src/view/router/index.js index 3ba09b9..c67242f 100644 --- a/packages/gui/src/view/router/index.js +++ b/packages/gui/src/view/router/index.js @@ -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 diff --git a/packages/gui/src/view/router/menu.js b/packages/gui/src/view/router/menu.js index dfe0e2d..0cacb0d 100644 --- a/packages/gui/src/view/router/menu.js +++ b/packages/gui/src/view/router/menu.js @@ -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' })