update
This commit is contained in:
@@ -185,6 +185,15 @@ watch(() => props.show, async (newVal) => {
|
||||
emit('close')
|
||||
loading.hide()
|
||||
return
|
||||
} else {
|
||||
// 抽中结束,更新抽奖次数
|
||||
if (lottteryResult.res.status === 200) {
|
||||
const result = await Request('game/info', { refresh_official: false, refresh_cap_scan: false }, "GET")
|
||||
if (result?.res?.status === 200) {
|
||||
globalStore.draw_chances = result.json.draw_chances
|
||||
globalStore.game_chances = result.json.game_chances
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (!props.data) {
|
||||
|
||||
Reference in New Issue
Block a user