<script lang='tsx'>
import { Component } from "vue-property-decorator";
import { VueLifeCycleProcessing } from '@/studio-core/decorators/VueLifeCycleProcessing';
import { CentralBase } from './central-base';
import view_appmenu from '@widgets/app/central-appmenu/central-appmenu.vue';

/**
 * 应用首页
 */
@Component({
    components: {
        view_appmenu, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$appService.navHistory.setViewTag(vm.viewtag, to);
            vm.$appService.navHistory.setViewContext(vm.context, to);
        });
    },
})
@VueLifeCycleProcessing()
export default class Central extends CentralBase { }
</script>