抽奖
This commit is contained in:
@@ -242,6 +242,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
this.$u.toast(`恭喜抽中${this.activeInfo.prizes[this.awardNumber-1].name}!`)
|
||||
this.getDetail()
|
||||
this.getAwardedList()
|
||||
}, 2000)}
|
||||
}).catch((err) => {
|
||||
this.$u.toast(err)
|
||||
@@ -262,6 +263,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getAwardedList() {
|
||||
this.awardedList = []
|
||||
this.$http.post(`/app/appmarketingactivityinfo/awardedList?activityId=${this.activityId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.length) {
|
||||
|
||||
Reference in New Issue
Block a user