fix(查询组件): 新添加的查询条件,保存失败,提示没有关联字段和图表

This commit is contained in:
dataeaseShu 2024-05-08 14:28:58 +08:00
parent 753245abc0
commit bef316e1f0

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