From 62eb2c62c00aa6ba04015b9db53b9209f5392f16 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Fri, 17 Oct 2025 11:07:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=89=8C=E4=BD=8D-=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E6=89=80=E5=B1=9E=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/memorial/addMemorial.vue | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/pages/memorial/addMemorial.vue b/pages/memorial/addMemorial.vue index d63e4ac..d079bdb 100644 --- a/pages/memorial/addMemorial.vue +++ b/pages/memorial/addMemorial.vue @@ -2,7 +2,7 @@ - + @@ -84,10 +84,10 @@ - + - 未绑定牌位的设备列表 + 未添加牌位的设备列表 {{ winB_Pagination.total }} @@ -96,7 +96,7 @@ 📱 - 暂无未绑定设备 + 暂无未添加设备 请先扫码添加设备 @@ -336,16 +336,18 @@ export default { transformRegionData(data) { if (!data || !data.children) return []; - return data.children.map((floor) => ({ - label: floor.label, - value: floor.id, - children: floor.children - ? floor.children.map((area) => ({ - label: area.label, - value: area.id, - })) - : [], - })); + return data.children + .filter((floor) => floor.id !== "41") // 过滤掉 value 等于 "41" 的项目 + .map((floor) => ({ + label: floor.label, + value: floor.id, + children: floor.children + ? floor.children.map((area) => ({ + label: area.label, + value: area.id, + })) + : [], + })); }, // 显示区域选择器