fix: 参数配置可见visible属性判断
This commit is contained in:
@@ -221,6 +221,13 @@ function fnGetNeConfig() {
|
||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
|
||||
const arr = [];
|
||||
for (const item of res.data) {
|
||||
// 是否可见
|
||||
if (!item['visible']) {
|
||||
item['visible'] = 'public';
|
||||
} else if (item['visible'] == 'hide') {
|
||||
continue;
|
||||
}
|
||||
// 权限控制
|
||||
let paramPerms: string[] = [];
|
||||
if (item.paramPerms) {
|
||||
paramPerms = item.paramPerms.split(',');
|
||||
|
||||
Reference in New Issue
Block a user