mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
🍕
This commit is contained in:
parent
51ecf02479
commit
f9a524f956
1 changed files with 11 additions and 8 deletions
|
@ -46,14 +46,17 @@ export default Vue.extend({
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
gameId(id) {
|
gameId(id) {
|
||||||
console.log(id);
|
if (id == null) {
|
||||||
Progress.start();
|
this.game = null;
|
||||||
(this as any).api('games/reversi/games/show', {
|
} else {
|
||||||
gameId: id
|
Progress.start();
|
||||||
}).then(game => {
|
(this as any).api('games/reversi/games/show', {
|
||||||
this.nav(game, true);
|
gameId: id
|
||||||
Progress.done();
|
}).then(game => {
|
||||||
});
|
this.nav(game, true);
|
||||||
|
Progress.done();
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue