首页接入真实数据

feasure
lld 2026-02-13 00:22:25 +08:00
parent a8d60b5829
commit 38043f074d
1 changed files with 4 additions and 0 deletions

View File

@ -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));
}, },