Commit 5912a589 authored by 郝聪敏's avatar 郝聪敏

分享详情及奖品详情用奖品图片

parent 99da742d
...@@ -209,10 +209,10 @@ ...@@ -209,10 +209,10 @@
} }
}, },
updateAwardsInfo(current) { updateAwardsInfo(current) {
const { id, photoUrl, videoSnapUrl, showType, name, probability } = this.curQueue[current]; const { id, photoUrl, name, probability } = this.curQueue[current];
this.$emit('getAwardsInfo', { this.$emit('getAwardsInfo', {
id, id,
photoUrl: showType.value === 1 ? encodeURIComponent(photoUrl) : encodeURIComponent(videoSnapUrl), photoUrl: encodeURIComponent(photoUrl),
name, name,
chance: probability chance: probability
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment