forked from github/dataease
fix(仪表板): 过滤条件为枚举时,选择固定值后,再通过手动输入相同值,已添加的固定值显示重复
This commit is contained in:
parent
8ded983c32
commit
e76b9e8122
@ -227,7 +227,7 @@ const addFields = () => {
|
||||
return pre
|
||||
}, new Set([]))
|
||||
if (list.size) {
|
||||
checklist.value = [...checklist.value, ...Array.from(list)]
|
||||
checklist.value = [...new Set([...checklist.value, ...Array.from(list)])]
|
||||
}
|
||||
showTextArea.value = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user