调整盈达 文件配置
This commit is contained in:
parent
9918678b27
commit
9827e8aae8
@ -1,6 +1,6 @@
|
||||
# just a flag
|
||||
NODE_ENV = 'development'
|
||||
VUE_APP_PRO = 'local'
|
||||
# VUE_APP_PRO = 'local'
|
||||
|
||||
# base api
|
||||
# VUE_APP_BASE_API = 'https://joylink.club/jlcloud'
|
||||
|
@ -104,6 +104,12 @@ export const goOtherPlatformMenu = { // 导航栏快速切换平台
|
||||
designxadt: '/xadt/login'
|
||||
};
|
||||
export const PermissionParam = { // 路径权限处理所需参数配置(跳转白名单&路径正则匹配&clientId)
|
||||
hyd: {
|
||||
systemType: '011'
|
||||
},
|
||||
designhyd: {
|
||||
systemType: '011'
|
||||
},
|
||||
login: {
|
||||
systemType: '011'
|
||||
},
|
||||
|
@ -91,8 +91,6 @@ const permission = {
|
||||
const routeList = resetAsyncRouter(PermissionParam[getSessionStorage('project')]);
|
||||
|
||||
const accessedRouters = filterAsyncRouter(routeList, roles);
|
||||
console.log(accessedRouters);
|
||||
debugger;
|
||||
accessedRouters.forEach(route => {
|
||||
if (route.children && route.children.length == 0) {
|
||||
route.hidden = true;
|
||||
|
Loading…
Reference in New Issue
Block a user