mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(数据大屏): 文本组件和查询组件进行组合后拖入tab组件-查询未返回符合数据
This commit is contained in:
parent
4fb48de19f
commit
0911a58bbe
@ -164,6 +164,17 @@ export const useFilter = (curComponentId: string, firstLoad = false) => {
|
|||||||
|
|
||||||
if (ele.innerType === 'DeTabs') {
|
if (ele.innerType === 'DeTabs') {
|
||||||
ele.propValue.forEach(itx => {
|
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')
|
const arr = itx.componentData.filter(item => item.innerType === 'VQuery')
|
||||||
searchQuery(arr, filter, curComponentId, firstLoad)
|
searchQuery(arr, filter, curComponentId, firstLoad)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user