This commit is contained in:
parent
13451f6843
commit
5defcd6592
|
@ -46,7 +46,9 @@ export default Vue.extend({
|
|||
|
||||
watch: {
|
||||
gameId(id) {
|
||||
console.log(id);
|
||||
if (id == null) {
|
||||
this.game = null;
|
||||
} else {
|
||||
Progress.start();
|
||||
(this as any).api('games/reversi/games/show', {
|
||||
gameId: id
|
||||
|
@ -55,6 +57,7 @@ export default Vue.extend({
|
|||
Progress.done();
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
|
|
Loading…
Reference in New Issue