uniapp-filter和indexOf

if (res.value) { this.myWorkers = this.myWorkersBack.filter(function(item) { if (item.name.indexOf(res.value) > -1) { return true; } return false; }); if (this.
相關文章
相關標籤/搜索