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

fix(查询组件): 新添加的查询条件,保存失败,提示没有关联字段和图表
This commit is contained in:
dataeaseShu 2024-05-08 14:29:21 +08:00 committed by GitHub
commit 242c691fe7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -740,7 +740,7 @@ const handleCondition = item => {
handleDialogClick()
if (activeConditionForRename.id) return
activeCondition.value = item.id
curComponent.value = cloneDeep(conditions.value.find(ele => ele.id === item.id))
curComponent.value = conditions.value.find(ele => ele.id === item.id)
curComponent.value.dataset.fields = []
multiple.value = curComponent.value.multiple