抽奖
This commit is contained in:
@@ -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)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//活动报名
|
//活动报名
|
||||||
|
|||||||
Reference in New Issue
Block a user