微信扫一扫看面试题
data{ newsetTimeout:null } method:{ // 输入搜索 changeinput(){ clearTimeout(this.newsetTimeout) this.newsetTimeout=setTimeout(()=>{this.getdatamdph()},500) }, }