123456789101112131415161718192021222324252627282930313233 |
- <template>
- <router-view></router-view>
-
- </template>
- <script>
- import { useStore } from 'vuex';
- export default{
- setup(){
- const store=useStore();
- //console.log(store.state.user);
- },
- created(){
- this.getTabBarStatus();
- },
- data(){
- return {
- active:'home',
- showStatus:true,
- }
- },
- methods:{
- getTabBarStatus(){
- this.showStatus=this.$route.meta.isShowTarBar;
- },
- }
- };
- </script>
- <style>
- @import '~normalize.css';
- </style>
|