Commit 9547daf7 authored by Mac's avatar Mac

1

parent 5d358041
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
methods:{ methods:{
resetSearch(){ resetSearch(){
let data= this.vdata_model let data= this.vdata_model.toString()
this.$emit('returnData',data ,this.type); this.$emit('returnData',data ,this.type);
}, },
filterFn(val, update) { filterFn(val, update) {
...@@ -92,7 +92,6 @@ ...@@ -92,7 +92,6 @@
} else { } else {
const needle = val.toLowerCase() const needle = val.toLowerCase()
let that = this let that = this
that.newData=[] that.newData=[]
that.newData = that.Data.filter(v => v.SName.indexOf(needle) > -1) that.newData = that.Data.filter(v => v.SName.indexOf(needle) > -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment