handleSearch() { if (this.keyword != '') { // 实现input连续输入,只发一次请求 clearTimeout(this.timeout) this.timeout = setTimeout(() => { this.pageNum = 1; this.finished = false; this.total = 0; this.orderList = []; this.onLoadMore(); }, 1000) } }