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

import view_gridexpbar from '@widgets/emeqtype/grid-exp-viewgridexpbar-gridexpbar/grid-exp-viewgridexpbar-gridexpbar.vue';

/**
 * 设备类型表格导航视图
 *
 * @export
 * @class EMEQTypeGridExpView
 * @extends {EMEQTypeGridExpViewBase}
 */
@Component({
    components: {
        view_gridexpbar, 
    },
    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 EMEQTypeGridExpView extends EMEQTypeGridExpViewBase { }
</script>