fix:alertMessage 添加 allTime

This commit is contained in:
zhangyu
2022-05-13 10:50:31 +08:00
parent bef3a05ba3
commit ab7fbbc1a2
4 changed files with 7 additions and 20 deletions

View File

@@ -449,7 +449,9 @@ export default {
this.isCustom = false
return false
} else {
this.setSearchTime(val.type, val.value)
if (val.id !== 12) {
this.setSearchTime(val.type, val.value)
}
const id = val.id
if (id === 0) {
@@ -484,7 +486,7 @@ export default {
this.isCustom = false
this.showDropdown()
if (this.showEmpty && id === 12) {
this.searchTime = []
this.searchTime = ['', '']
}
this.$emit('change', this.searchTime)
}