接口白名单路由添加

This commit is contained in:
Sheng
2022-10-27 15:32:38 +08:00
parent c407ce9444
commit c14cab434c
5 changed files with 111 additions and 3 deletions

View File

@@ -137,6 +137,21 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
icon: 'ele-SetUp',
},
},
{
path: '/system/apiWhiteList',
name: 'apiWhiteList',
component: () => import('/@/views/system/apiWhiteList/index.vue'),
meta: {
title: 'message.router.systemApiWhiteList',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'ele-SetUp',
},
},
],
},
{
@@ -1142,7 +1157,7 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
roles: ['admin'],
icon: 'iconfont icon-neiqianshujuchucun',
},
}
},
],
},
];