[fix 87527] 多选日期,输入的去重

This commit is contained in:
danshihao
2024-07-26 18:34:10 +08:00
parent e6e07a61b6
commit 0cec1eb16f
+1 -1
View File
@@ -101,7 +101,7 @@ export default {
const oldVal = this.checkedValue.join(',')
if (newVal !== oldVal) {
if (newVal) {
this.checkedValue = newVal.split(',')
this.checkedValue = [...new Set(newVal.split(','))]
} else {
this.checkedValue = []
}