liukangdong
2024-07-26 1ae423f71a056e06a1f8908c6ae048d865e8ff47
wechat_jiaxuan/pages/userinfo/collect.js
@@ -17,6 +17,11 @@
  onLoad(options) {
    this.getList()
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data
@@ -101,14 +106,6 @@
  onUnload() {
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * 页面上拉触底事件的处理函数
   */