fix: 修复搜索框不能搜索false选项的问题

This commit is contained in:
“怀磊”
2022-01-20 14:56:14 +08:00
committed by Jiangjie.Bai
parent ac14e5964d
commit 4516d83ce4

View File

@@ -206,7 +206,7 @@ export default {
return true return true
}, },
handleConfirm() { handleConfirm() {
if (!this.filterValue) return if (this.filterValue === '') return
if (this.filterValue && !this.filterKey) { if (this.filterValue && !this.filterKey) {
this.filterKey = 'search' this.filterKey = 'search'
} }