liukangdong
2024-07-26 cddceb139c818a060208ba1000ac745ba4c30c64
wechat_staff/pages/consult/consult.js
@@ -22,6 +22,11 @@
  onLoad(options) {
    this.getCate()
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data