<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMEQTypeTreeExpView2Base from './emeqtype-tree-exp-view2-base.vue';

import view_treeexpbar from '@widgets/emeqtype/tree-exp-view2treeexpbar-treeexpbar/tree-exp-view2treeexpbar-treeexpbar.vue';

/**
 * 设备类型
 *
 * @export
 * @class EMEQTypeTreeExpView2
 * @extends {EMEQTypeTreeExpView2Base}
 */
@Component({
    components: {
        view_treeexpbar, 
    },
    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 EMEQTypeTreeExpView2 extends EMEQTypeTreeExpView2Base { }
</script>