From 0911a58bbea3189703c00084f7b649cacf9161d8 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 8 Jan 2025 10:06:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=BB=84=E4=BB=B6=E5=92=8C=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E8=BF=9B=E8=A1=8C=E7=BB=84=E5=90=88=E5=90=8E?= =?UTF-8?q?=E6=8B=96=E5=85=A5tab=E7=BB=84=E4=BB=B6-=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9C=AA=E8=BF=94=E5=9B=9E=E7=AC=A6=E5=90=88=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/hooks/web/useFilter.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/core-frontend/src/hooks/web/useFilter.ts b/core/core-frontend/src/hooks/web/useFilter.ts index d96bb87517..ce465decbe 100644 --- a/core/core-frontend/src/hooks/web/useFilter.ts +++ b/core/core-frontend/src/hooks/web/useFilter.ts @@ -164,6 +164,17 @@ export const useFilter = (curComponentId: string, firstLoad = false) => { if (ele.innerType === 'DeTabs') { ele.propValue.forEach(itx => { + itx.componentData.forEach(v => { + if (v.component === 'Group') { + const listGroup = v.propValue.filter( + item => + item.innerType === 'VQuery' && + (popupAvailable || (!popupAvailable && v.category !== 'hidden')) + ) + searchQuery(listGroup, filter, curComponentId, firstLoad) + } + }) + const arr = itx.componentData.filter(item => item.innerType === 'VQuery') searchQuery(arr, filter, curComponentId, firstLoad) })