新增代理配置相关页面

This commit is contained in:
aoshiguchen
2022-08-31 21:41:05 +08:00
parent 6f5b089408
commit 2f6ee1f7c5
5 changed files with 17 additions and 4 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
module.exports = {
NODE_ENV: '"development"',
ENV_CONFIG: '"dev"',
// BASE_API: '"http://localhost:8080"'
BASE_API: '"http://192.168.0.103:8080"'
BASE_API: '"http://localhost:8080"'
}
+2 -1
View File
@@ -46,7 +46,8 @@ export default {
i18n: '国际化',
user: '用户管理',
system: '系统管理',
portPool: '端口池管理'
portPool: '端口池管理',
proxy: '代理配置'
},
navbar: {
logOut: '退出登录',
+14 -1
View File
@@ -238,7 +238,20 @@ export const asyncRouterMap = [
},
{ path: '*', redirect: '/404', hidden: true },
{
path: '/proxy',
component: Layout,
redirect: 'noredirect',
name: 'proxy',
meta: {
title: 'proxy',
icon: 'component'
},
children: [
{ path: 'user', component: _import('system/user'), name: 'user', meta: { title: 'user' }},
{ path: 'portPool', component: _import('system/portPool'), name: 'portPool', meta: { title: 'portPool' }}
]
},
{
path: '/system',
component: Layout,