mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 04:03:06 +00:00
Fix routing issue on first login
This commit is contained in:
parent
b392112b54
commit
7e36cd5c04
1 changed files with 5 additions and 1 deletions
|
@ -63,7 +63,11 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
|
if (this.platform) {
|
||||||
this.load();
|
this.load();
|
||||||
|
} else {
|
||||||
|
this.$router.push({ name: 'platforms' });
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue