fix(查询组件): 修复查询组件选项值来源配置选择数据集时过滤不生效的问题

This commit is contained in:
dataeaseShu 2024-05-09 18:41:13 +08:00
parent 566aa77b45
commit e7d7f6233c

View File

@ -70,7 +70,7 @@ const releaseSelect = inject('release-unmount-select', Function, true)
const queryDataForId = inject('query-data-for-id', Function, true)
const setDefaultMapValue = arr => {
const { displayId, field } = config.value
if (!displayId || displayId === field?.id) {
if (!displayId) {
return []
}
let defaultMapValue = {}