From e2480deff73c0e3146c29aa62e355f45b084406f Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 6 Feb 2023 09:24:36 +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 --- .../activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue index 22ce62d7..0b8aa1b6 100644 --- a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue +++ b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue @@ -240,6 +240,7 @@ export default { this.$http.post(`/app/appmarketingactivityinfo/raffle?activityId=${this.activityId}`).then((res) => { if (res.code == 0) { + console.log(456) this.awardNumber = res.data this.onStart() setTimeout(() => { @@ -247,10 +248,12 @@ export default { this.getDetail() this.getAwardedList() this.isStart = false - }, 2000)} - }).catch((err) => { - this.$u.toast(err) - this.isStart = false + }, 2000) + } + if (res.code == 1) { + this.isStart = false + this.$u.toast(res.msg) + } }) }, //活动报名