mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
delete notification-component in crash
This commit is contained in:
@@ -80,9 +80,6 @@
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="notification-crash" v-if="notificationShow">
|
||||
<h2>{{ notificationText }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -111,12 +108,10 @@ export default {
|
||||
clickedBtn: null,
|
||||
ErrorClick: false,
|
||||
ErrorJoin: false,
|
||||
notificationShow: false,
|
||||
balance: 0,
|
||||
amountDeposit: 0,
|
||||
crashObject: '',
|
||||
textError: '',
|
||||
notificationText: '',
|
||||
startGame: false,
|
||||
}
|
||||
},
|
||||
@@ -267,15 +262,7 @@ export default {
|
||||
|
||||
return
|
||||
}
|
||||
else if (response === 'Success') {
|
||||
this.notificationText = 'Успешное добавление в очередь'
|
||||
this.notificationShow = true
|
||||
|
||||
setTimeout(() => {
|
||||
this.notificationText = ''
|
||||
this.notificationShow = false
|
||||
}, 1000)
|
||||
}
|
||||
this.startGame = true
|
||||
})
|
||||
}
|
||||
@@ -299,16 +286,6 @@ export default {
|
||||
console.log(response)
|
||||
this.startGame = false
|
||||
|
||||
if (response.startsWith('Win')) {
|
||||
this.notificationText = 'Деньги успешно зачислены. Игра покинута.'
|
||||
this.notificationShow = true
|
||||
|
||||
setTimeout(() => {
|
||||
this.notificationText = ''
|
||||
this.notificationShow = false
|
||||
}, 1500)
|
||||
}
|
||||
|
||||
this.updateUserMoney()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user