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

import view_treeexpbar from '@widgets/emeqlctgss/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.vue';

/**
 * 钢丝绳位置树导航
 *
 * @export
 * @class EMEQLCTGSSTreeExpView
 * @extends {EMEQLCTGSSTreeExpViewBase}
 */
@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 EMEQLCTGSSTreeExpView extends EMEQLCTGSSTreeExpViewBase { }
</script>