From 3b34496bdef15c9d7ac2db3bb182e3f5228da3e8 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 3 Feb 2023 17:43:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=A5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue index 551517a8..4d6aa8d2 100644 --- a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue +++ b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue @@ -218,6 +218,8 @@ export default { this.getDetail() this.$u.toast('绑定成功') } + }).catch((err) => { + this.$u.toast(err) }) }, cancel() { @@ -243,7 +245,7 @@ export default { this.awardNumber = res.data this.onStart() setTimeout(() => { - this.$u.toast(`恭喜抽中${this.activeInfo.prizes[this.awardNumber-1].name}!`) + this.$u.toast(this.activeInfo.prizes[this.awardNumber-1].defaultPrize == 1 ? `很遗憾您抽中了${this.activeInfo.prizes[this.awardNumber-1].name}` : `恭喜抽中${this.activeInfo.prizes[this.awardNumber-1].name}!`) this.getDetail() this.getAwardedList() }, 2000)} @@ -681,6 +683,7 @@ export default { bottom: 200px; right: 24px; width: 160px; + z-index: 999; } }