From 28aa770a9bf7b20fa7a596d03ea74a632175c1c0 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Sat, 17 Jul 2021 11:43:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=B1=E5=8C=85=E8=AE=B0=E5=BD=95=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20=E9=82=80=E8=AF=B7=E8=BE=BE=E4=BA=BA=E6=B5=B7?= =?UTF-8?q?=E6=8A=A5=E7=94=9F=E6=88=90=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/invite.vue | 5 +++-- pages/center/wallet.vue | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pages/center/invite.vue b/pages/center/invite.vue index 3621fa0..466a402 100644 --- a/pages/center/invite.vue +++ b/pages/center/invite.vue @@ -52,7 +52,7 @@ wx.showToast({ title: '生成海报中...', icon: 'loading', - duration: 1000 + duration: 100000 }); this.getWxCode() this.getBackground() @@ -138,8 +138,9 @@ if (that.imagePath) { that.canvasHidden = true that.maskHidden = true + wx.hideToast() } - console.log('海报生成成功,图片链接', that.imagePath) + console.log('海报生成成功,图片链接', that.imagePath) }, fail: function(res) { console.log(res); diff --git a/pages/center/wallet.vue b/pages/center/wallet.vue index a2c3ab4..ff399be 100644 --- a/pages/center/wallet.vue +++ b/pages/center/wallet.vue @@ -169,7 +169,11 @@ // scroll-view 下拉刷新 onRefresherrefresh(){ this.isRefresher = true; - this.getIncomeList() + if(this.current == 0) { + this.getIncomeList() + }else { + this.getWidthList() + } } } }