This commit is contained in:
liuye
2023-02-06 09:24:36 +08:00
parent 9e30f2917c
commit e2480deff7

View File

@@ -240,6 +240,7 @@ export default {
this.$http.post(`/app/appmarketingactivityinfo/raffle?activityId=${this.activityId}`).then((res) => { this.$http.post(`/app/appmarketingactivityinfo/raffle?activityId=${this.activityId}`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
console.log(456)
this.awardNumber = res.data this.awardNumber = res.data
this.onStart() this.onStart()
setTimeout(() => { setTimeout(() => {
@@ -247,10 +248,12 @@ export default {
this.getDetail() this.getDetail()
this.getAwardedList() this.getAwardedList()
this.isStart = false this.isStart = false
}, 2000)} }, 2000)
}).catch((err) => { }
this.$u.toast(err) if (res.code == 1) {
this.isStart = false this.isStart = false
this.$u.toast(res.msg)
}
}) })
}, },
//活动报名 //活动报名