merge
This commit is contained in:
@@ -54,7 +54,7 @@ const adGoto = () => {
|
|||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.ad .close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 8.148148vw;
|
width: 8.148148vw;
|
||||||
height: 8.148148vw;
|
height: 8.148148vw;
|
||||||
|
|||||||
@@ -334,13 +334,14 @@ watch(() => mergeId, async (newVal) => {
|
|||||||
}
|
}
|
||||||
}, { immediate: true })
|
}, { immediate: true })
|
||||||
|
|
||||||
globalToastEvent.on(ToastType.SHOW_LOTTERY, () => {
|
globalToastEvent.on(ToastType.SHOW_LOTTERY, async() => {
|
||||||
|
await initUserGameInfos(false, false);
|
||||||
lotteryShow.value = true
|
lotteryShow.value = true
|
||||||
})
|
})
|
||||||
|
|
||||||
watch(() => lotteryShow.value, async (newVal) => {
|
// watch(() => lotteryShow.value, async (newVal) => {
|
||||||
initUserGameInfos(true, true);
|
// initUserGameInfos(true, true);
|
||||||
}, { immediate: true })
|
// }, { immediate: true })
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -108,7 +108,6 @@ watch(() => props.show, async (newVal) => {
|
|||||||
|
|
||||||
const loading = weui.loading()
|
const loading = weui.loading()
|
||||||
let lottteryResult = null
|
let lottteryResult = null
|
||||||
|
|
||||||
if (props.type === 'draw') {
|
if (props.type === 'draw') {
|
||||||
lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
|
lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user