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