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

fix(查询组件): 查询组件保存字段关联失效bug
This commit is contained in:
dataeaseShu 2024-06-25 14:22:46 +08:00 committed by GitHub
commit 3810f30b79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -289,6 +289,8 @@ const updateQueryCriteria = () => {
ele.checkedFields = checkedFields ele.checkedFields = checkedFields
ele.checkedFieldsMap = checkedFieldsMap ele.checkedFieldsMap = checkedFieldsMap
} else { } else {
if (!ele.dataset.id || ele.optionValueSource !== 1 || ![0, 2, 5].includes(+ele.displayType))
return
const checkedFields = [] const checkedFields = []
datasetFieldList.value.forEach(itx => { datasetFieldList.value.forEach(itx => {
if (itx.tableId === ele.dataset.id) { if (itx.tableId === ele.dataset.id) {