From 744c16a15432461394e1e2dbdfaea34a766fcc6b Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 01 八月 2024 08:53:29 +0800
Subject: [PATCH] ‘’

---
 wechat_jiaxuan/pages/homeId/index.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/wechat_jiaxuan/pages/homeId/index.js b/wechat_jiaxuan/pages/homeId/index.js
index 03b2ca0..196a830 100644
--- a/wechat_jiaxuan/pages/homeId/index.js
+++ b/wechat_jiaxuan/pages/homeId/index.js
@@ -39,6 +39,7 @@
   onPullDownRefresh: function () {
     console.log('涓嬫媺鍒锋柊');
     this.setData({ dataList: [], pageNum: 1, total: 0 })
+    wx.stopPullDownRefresh()
     this.getList()
   },
   getList(){
@@ -53,6 +54,8 @@
         total: res.data.total,
         dataList: [ ...this.data.dataList, ...res.data.records ]
       })
+    }).finally(()=>{ 
+      wx.stopPullDownRefresh()
     })
   },
   itemClick(e) {
@@ -70,7 +73,7 @@
         url: '/pages/webView/index',
         success: function(res) {
           console.log('鍙戝嚭浜嬩欢');
-          res.eventChannel.emit('data',{link:item.content} );
+          res.eventChannel.emit('acceptDataFromOpenerPage',{link:item.content} );
         }
       })
     }

--
Gitblit v1.9.3