fix: 参数配置可见visible属性判断
This commit is contained in:
@@ -220,6 +220,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(',');
|
||||
@@ -410,7 +417,9 @@ onMounted(() => {
|
||||
<PageContainer>
|
||||
<template #content> </template>
|
||||
<template #contentExtra>
|
||||
<a-button type="primary" @click="fnBaseOpen"> Quickly Modify PLMN </a-button>
|
||||
<a-button type="primary" @click="fnBaseOpen">
|
||||
Quickly Modify PLMN
|
||||
</a-button>
|
||||
</template>
|
||||
|
||||
<a-row :gutter="16">
|
||||
|
||||
Reference in New Issue
Block a user