From 73c3507d82c06066d592d626ccd1a9a0961e0c5f Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 19 七月 2024 20:10:26 +0800
Subject: [PATCH] ''
---
wechat_jiaxuan/pages/userinfo/mysub.js | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/wechat_jiaxuan/pages/userinfo/mysub.js b/wechat_jiaxuan/pages/userinfo/mysub.js
index 49e9b87..8d090c3 100644
--- a/wechat_jiaxuan/pages/userinfo/mysub.js
+++ b/wechat_jiaxuan/pages/userinfo/mysub.js
@@ -5,7 +5,7 @@
* 椤甸潰鐨勫垵濮嬫暟鎹�
*/
data: {
- activeTabs: '0',
+ activeTabs: '1',
dataList: [],
total: 0,
@@ -20,16 +20,19 @@
this.getList()
},
getList() {
- const { page, capacity} = this.data
+ const { page, capacity, activeTabs} = this.data
customerLogPage({
- model: {},page,capacity
+ model: {
+ type: activeTabs
+ },page,capacity
}).then(res => {
this.setData({ dataList: res.data.records })
})
},
tabsChange(e) {
const activeTabs = e.currentTarget.dataset.val
- this.setData({ activeTabs })
+ this.setData({ activeTabs, dataList: [], total: 0, page: 0, })
+ this.getList()
},
/**
--
Gitblit v1.9.3