data里面
setTimer :null
methods里面
delayedQuery:function(){
clearInterval(that.setTimer)
this.setTimer = setInterval(()=>{
this.spinning = true
this.current = 1
this.getList(1)//延迟查询数据的函数
clearInterval(that.setTimer)
},800)
},