fix: 参数配置可见visible属性判断

This commit is contained in:
TsMask
2025-06-30 16:17:13 +08:00
parent 218dfef16b
commit 05c1638984

View File

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