This commit is contained in:
liuye
2023-02-03 16:29:18 +08:00
parent a5dfb00945
commit 7014e7541c

View File

@@ -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) {