Merge pull request #13337 from dataease/pr@dev-v2_msg_fill

fix(查询组件): 级联查询中,如果第二级中的存在多对一的关系,查询框内容未刷新导致查询内容不正确。 #13314
This commit is contained in:
xuwei-fit2cloud 2024-11-14 18:36:08 +08:00 committed by GitHub
commit d83ea8a076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -582,6 +582,8 @@ const single = ref()
const getOptionFromCascade = () => {
if (config.value.optionValueSource !== 1 || ![0, 2, 5].includes(+config.value.displayType)) return
config.value.selectValue = config.value.multiple ? [] : undefined
selectValue.value = config.value.multiple ? [] : undefined
debounceOptions(1)
}