diff --git a/app/web/config/router.config.js b/app/web/config/router.config.js index 3c2d537d..1498f9e7 100644 --- a/app/web/config/router.config.js +++ b/app/web/config/router.config.js @@ -46,6 +46,18 @@ export default [ }, ], }, + { + path: '/agents', + name: 'agents', + icon: 'dashboard', + routes: [ + { + path: '/agents/overview', + name: 'overview', + component: './helloworld', + } + ], + } ], - }, + } ]; diff --git a/app/web/src/locales/zh-CN.js b/app/web/src/locales/zh-CN.js index 4d30a109..5b66534d 100644 --- a/app/web/src/locales/zh-CN.js +++ b/app/web/src/locales/zh-CN.js @@ -72,6 +72,8 @@ export default { 'menu.dashboard.notification': '告警统计', 'menu.dashboard.logging': '日志数据统计', 'menu.dashboard.gateway': '采集网关统计', + 'menu.agents': '终端管理', + 'menu.agents.overview': '终端统计', 'menu.form': '表单页', 'menu.form.basicform': '基础表单', 'menu.form.stepform': '分步表单',