From 997036b27927bcc1e9207a40b7a69c106a10f30c Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 31 七月 2024 15:49:52 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

---
 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