转盘活动打点
This commit is contained in:
parent
b40eddf251
commit
a322babef7
@ -60,6 +60,11 @@ bonusCount: 2, // 已助力次数
|
|||||||
let { errcode, errmsg, data } = await apiGameClaim(this.itemData.id);
|
let { errcode, errmsg, data } = await apiGameClaim(this.itemData.id);
|
||||||
if (!errcode) {
|
if (!errcode) {
|
||||||
this.$emit('checkNft', data)
|
this.$emit('checkNft', data)
|
||||||
|
let address_type = localStorage.getItem("myAddress");
|
||||||
|
this.$gtag.event("games_event", {
|
||||||
|
address_type: address_type,
|
||||||
|
gems_task: this.itemData.task,
|
||||||
|
});
|
||||||
} else if(errcode == 50) {
|
} else if(errcode == 50) {
|
||||||
this.$showErr(errmsg)
|
this.$showErr(errmsg)
|
||||||
this.beginCountdown()
|
this.beginCountdown()
|
||||||
|
@ -291,6 +291,10 @@ export default {
|
|||||||
// 6.弹出奖励
|
// 6.弹出奖励
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$emit("awardDialog", this.turnData);
|
this.$emit("awardDialog", this.turnData);
|
||||||
|
let address_type = localStorage.getItem("myAddress");
|
||||||
|
this.$gtag.event("wheel_event", {
|
||||||
|
address_type: address_type,
|
||||||
|
});
|
||||||
}, 500)
|
}, 500)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user