首页接入真实数据
parent
a8d60b5829
commit
38043f074d
|
|
@ -159,6 +159,10 @@ export default {
|
||||||
this.input(this.searchValue)
|
this.input(this.searchValue)
|
||||||
},
|
},
|
||||||
input(res) {
|
input(res) {
|
||||||
|
if (!res) {
|
||||||
|
this.cancel(res)
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.listData = this.datas.filter(item =>
|
this.listData = this.datas.filter(item =>
|
||||||
item[this.value === 0 ? 'agriName' : 'imei'].includes(res));
|
item[this.value === 0 ? 'agriName' : 'imei'].includes(res));
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue