Merge pull request #9570 from dataease/pr@dev-v2_st

fix(查询组件): 修复查询组件选项值来源配置选择数据集时过滤不生效的问题
This commit is contained in:
dataeaseShu 2024-05-09 18:41:46 +08:00 committed by GitHub
commit 9a1fa54cf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 = {}