wechat_jiaxuan/components/disCase/index.js
@@ -19,7 +19,7 @@ pageNum: 1, pageSize: 10, query: '', sortType: 'NORMAL', sortType: '', catalogCode: 'whole_case' }, attached() { @@ -54,6 +54,10 @@ } }) }, scrolltoupper() { this.setData({ pageNum: 1,datalist: [],total: 0}) this.getList() }, scrolltolower() { console.log('触底事件'); const { total, dataList, pageNum } = this.data