调整盈达 文件配置

This commit is contained in:
zyy 2020-05-21 15:03:42 +08:00
parent 9918678b27
commit 9827e8aae8
3 changed files with 7 additions and 3 deletions

View File

@ -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'

View File

@ -104,6 +104,12 @@ export const goOtherPlatformMenu = { // 导航栏快速切换平台
designxadt: '/xadt/login'
};
export const PermissionParam = { // 路径权限处理所需参数配置(跳转白名单&路径正则匹配&clientId
hyd: {
systemType: '011'
},
designhyd: {
systemType: '011'
},
login: {
systemType: '011'
},

View File

@ -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;