From 1ae423f71a056e06a1f8908c6ae048d865e8ff47 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 11:43:43 +0800
Subject: [PATCH] b端
---
wechat_jiaxuan/pages/userinfo/mysub.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/wechat_jiaxuan/pages/userinfo/mysub.js b/wechat_jiaxuan/pages/userinfo/mysub.js
index c545e33..fa703a1 100644
--- a/wechat_jiaxuan/pages/userinfo/mysub.js
+++ b/wechat_jiaxuan/pages/userinfo/mysub.js
@@ -15,6 +15,11 @@
onLoad(options) {
this.getList()
},
+ onPullDownRefresh: function () {
+ console.log('涓嬫媺鍒锋柊');
+ this.setData({ dataList: [], page: 1, total: 0 })
+ this.getList()
+ },
onReachBottom() {
console.log('瑙﹀簳浜嬩欢');
const { total, dataList, page } = this.data
--
Gitblit v1.9.3