[fix 87527] 多选日期,输入的去重
This commit is contained in:
@@ -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 = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user