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) + } }) }, //活动报名