mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
fix big table matching
This commit is contained in:
parent
5174bb2bd8
commit
bf39f1973c
@ -102,11 +102,8 @@ var vm = new Vue({
|
||||
},
|
||||
|
||||
methods: {
|
||||
updateFilter (e) {
|
||||
this.filter = e.target.value.toLowerCase()
|
||||
},
|
||||
matches (item) {
|
||||
return item.value.toLowerCase().indexOf(this.filter) > -1
|
||||
return item.value.toLowerCase().indexOf(this.filter.toLowerCase()) > -1
|
||||
},
|
||||
visibleCount () {
|
||||
var count = 0
|
||||
|
Loading…
Reference in New Issue
Block a user