防止用户连续点击按钮导致页面数据重复
data: { level: 1, page: 1, list: [], status:true }, myTab: function(e) { if(!this.data.status){ return } var a = this, i = t.pdata(e).level; a.setData({ level: i, page: 1, list: [], status:false }), a.getList(); setTimeout(a.setStatus,1500) },