fix(数据大屏): 组合-组合内有查询组件-查询失效
This commit is contained in:
parent
52f9077065
commit
6e62802eec
@ -133,6 +133,20 @@ export const useFilter = (curComponentId: string, firstLoad = false) => {
|
||||
const queryComponentList = componentData.value.filter(ele => ele.component === 'VQuery')
|
||||
searchQuery(queryComponentList, filter, curComponentId, firstLoad)
|
||||
componentData.value.forEach(ele => {
|
||||
if (ele.component === 'Group') {
|
||||
const list = ele.propValue.filter(item => item.innerType === 'VQuery')
|
||||
searchQuery(list, filter, curComponentId, firstLoad)
|
||||
|
||||
list.forEach(element => {
|
||||
if (element.innerType === 'DeTabs') {
|
||||
element.propValue.forEach(itx => {
|
||||
const elementArr = itx.componentData.filter(item => item.innerType === 'VQuery')
|
||||
searchQuery(elementArr, filter, curComponentId, firstLoad)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
if (ele.innerType === 'DeTabs') {
|
||||
ele.propValue.forEach(itx => {
|
||||
const arr = itx.componentData.filter(item => item.innerType === 'VQuery')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user