[fix 87527] 多选日期,输入的去重
This commit is contained in:
@@ -101,7 +101,7 @@ export default {
|
|||||||
const oldVal = this.checkedValue.join(',')
|
const oldVal = this.checkedValue.join(',')
|
||||||
if (newVal !== oldVal) {
|
if (newVal !== oldVal) {
|
||||||
if (newVal) {
|
if (newVal) {
|
||||||
this.checkedValue = newVal.split(',')
|
this.checkedValue = [...new Set(newVal.split(','))]
|
||||||
} else {
|
} else {
|
||||||
this.checkedValue = []
|
this.checkedValue = []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user