<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMEQAHCalendarExpViewBase from './emeqahcalendar-exp-view-base.vue';

import view_calendarexpbar from '@widgets/emeqah/calendar-exp-viewcalendarexpbar-calendarexpbar/calendar-exp-viewcalendarexpbar-calendarexpbar.vue';

/**
 * 活动历史日历导航视图
 *
 * @export
 * @class EMEQAHCalendarExpView
 * @extends {EMEQAHCalendarExpViewBase}
 */
@Component({
    components: {
        view_calendarexpbar, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            if(!Object.is(vm.navModel,"route")){
                vm.initNavDataWithTab(vm.viewCacheData);
            }
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class EMEQAHCalendarExpView extends EMEQAHCalendarExpViewBase { }
</script>