mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
refactor logic for get winning-amount
This commit is contained in:
@@ -350,7 +350,10 @@ export default {
|
|||||||
try {
|
try {
|
||||||
await GetWinningAmount({ SearchToken: GetCookie('SearchToken'), AuthToken: GetCookie('AUTHTOKEN') })
|
await GetWinningAmount({ SearchToken: GetCookie('SearchToken'), AuthToken: GetCookie('AUTHTOKEN') })
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.reload()
|
this.winningAmount = 0
|
||||||
|
this.flippedCards = []
|
||||||
|
this.offEventPointers = false
|
||||||
|
this.gameStart = false
|
||||||
}, 1000)
|
}, 1000)
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user