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