mirror of
https://github.com/anatolykopyl/vk-bingo.git
synced 2026-03-26 21:04:26 +00:00
🩹 Избавился от ошибки сервера, когда пользователь не вводит пароль
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
</transition>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
Загрузка...
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -42,10 +45,13 @@ export default {
|
||||
this.showResult = false
|
||||
axios
|
||||
.get(process.env.VUE_APP_BACKEND + '/card')
|
||||
.then(response => (this.card = response.data))
|
||||
.then(response => {
|
||||
this.card = response.data
|
||||
})
|
||||
},
|
||||
nextCard: function() {
|
||||
if (this.showResult) {
|
||||
this.card = null
|
||||
this.getCard()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user