refactor: 外部参数使用过滤选项时,支持关联过滤组件的图表使用过滤选项过滤结果 (#17843)

This commit is contained in:
王嘉豪
2026-01-20 20:53:23 +08:00
committed by GitHub
parent 1af4450dc3
commit 30cbf69ea8

View File

@@ -363,10 +363,22 @@ export const searchQuery = (queryComponentList, filter, curComponentId, firstLoa
timeGranularity = 'date',
displayType,
displayId,
multiple
multiple,
optionFilter
} = item
const isTree = +displayType === 9
if (optionFilter) {
filter.push({
filterId: id,
componentId: ele.id,
fieldId: item.checkedFieldsMap[curComponentId],
operator: 'in',
value: optionFilter,
parameters: [],
isTree
})
}
if (
timeType === 'dynamic' &&