From 1a6905045d38bb50b0c6554c3440bdfd339c8d23 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 30 七月 2024 19:13:46 +0800
Subject: [PATCH] ‘’

---
 wechat_jiaxuan/pages/userinfo/collect.js |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/wechat_jiaxuan/pages/userinfo/collect.js b/wechat_jiaxuan/pages/userinfo/collect.js
index 2ff7453..2e40648 100644
--- a/wechat_jiaxuan/pages/userinfo/collect.js
+++ b/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() {
-
-  },
-
   /**
    * 椤甸潰涓婃媺瑙﹀簳浜嬩欢鐨勫鐞嗗嚱鏁�
    */

--
Gitblit v1.9.3