You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
352 B
19 lines
352 B
5 months ago
|
<template></template>
|
||
|
|
||
|
<script>
|
||
|
import { mapGetters } from "vuex";
|
||
|
export default {
|
||
|
data() {
|
||
|
return {};
|
||
|
},
|
||
|
computed: {
|
||
|
...mapGetters(["defaultRoutes"]),
|
||
|
},
|
||
|
mounted() {
|
||
|
const firstRouter = this.defaultRoutes.filter(item => !item.hidden)
|
||
|
this.$router.push('/'+firstRouter[0].children[0].path);
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style></style>
|