fix(查询组件): 查询组件级联的级联状态不能重置 #12885

This commit is contained in:
dataeaseShu 2024-10-28 14:41:39 +08:00
parent 3a4d2d0620
commit 98eea88974

View File

@ -462,7 +462,7 @@ const resetData = () => {
if (next.id === comId) {
item.currentSelectValue = Array.isArray(next.selectValue)
? next.selectValue
: [next.selectValue].map(itx => ![null, undefined].includes(itx))
: [next.selectValue].filter(itx => ![null, undefined].includes(itx))
useEmitt().emitter.emit(`${item.datasetId.split('--')[1]}-select`)
}
})