<script lang='tsx'> import { Component } from "vue-property-decorator"; import { VueLifeCycleProcessing } from '@/studio-core/decorators/VueLifeCycleProcessing'; import { AppIndexViewBase } from './app-index-view-base'; import view_appmenu from '@widgets/app/app-index-view-appmenu/app-index-view-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 AppIndexView extends AppIndexViewBase { } </script>