From 00c384398eebdaf728a87285671a2e8d1b8967be Mon Sep 17 00:00:00 2001 From: fanfan Date: Wed, 10 Apr 2024 11:17:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/news/user/vip.vue | 10 +++++----- pages/user/index.vue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/news/user/vip.vue b/pages/news/user/vip.vue index 28833c0..dfb9539 100644 --- a/pages/news/user/vip.vue +++ b/pages/news/user/vip.vue @@ -80,12 +80,12 @@ // 刷新列表数据 this.list = [] this.page = 1; - app.getList(app.user_type) + app.getList() }, searchhandle() { this.list = [] this.page = 1; - this.getList(this.user_type) + this.getList() }, async getList() { @@ -143,18 +143,18 @@ } }, onLoad(option) { - this.title = option.title + this.title = option.type==1?'会员管理':'分销管理' this.type = option.type uni.setNavigationBarTitle({ title: this.title }); this.list = [] - this.getList(this.user_type) + this.getList() }, onReachBottom() { if (this.list.length < this.total) { this.page++; - this.getList(this.user_type) + this.getList() } }, } diff --git a/pages/user/index.vue b/pages/user/index.vue index 579a143..aeba4c4 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -118,7 +118,7 @@ - + 会员分销