From 05c1638984964d99636a22de1b327537ba04670d Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 30 Jun 2025 16:17:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=AF=E8=A7=81visible=E5=B1=9E=E6=80=A7=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ne/neConfig/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/ne/neConfig/index.vue b/src/views/ne/neConfig/index.vue index b9a73d60..294fe584 100644 --- a/src/views/ne/neConfig/index.vue +++ b/src/views/ne/neConfig/index.vue @@ -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(() => {