From b9e13fbcb70d1d78afae8b54f94a3d7bcda2d625 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 26 Jul 2023 20:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=8A=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ysf-redPackets.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ysf-redPackets.html b/ysf-redPackets.html index a232cf7..28e442b 100644 --- a/ysf-redPackets.html +++ b/ysf-redPackets.html @@ -42,14 +42,15 @@
-
+

云闪付账号

您可在云闪付的个人信息中查看【云闪付账号】

- +
@@ -128,7 +129,7 @@ this.isMini = /miniProgram/i.test(ua); /* 初始弹窗 */ - if (this.ysf.available != 1) { + if ([1, 9].includes(ysf.available)) { this.is = true; this.tip(product_status(this.ysf.available, this.ysf), 2); } @@ -190,8 +191,9 @@ req.axiosPost("/voucher/grant", params) .then(({ code, message }) => { if (code === 200) { - this.tip('领取成功,请前往【云闪付】-【卡包】中查看', 1); + this.is = false; this.ysf.available = 9; + this.tip('领取成功,请前往【云闪付】-【卡包】中查看', 1); } else { this.axiosErrorFun(code, message, 2); } @@ -219,6 +221,7 @@ /* 接口异常处理 */ axiosErrorFun (code, message, status) { + this.is = false; if (code == 403) { if (this.backAble) { this.tip(message, status);