<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMItemTypeItemTreeExpViewBase from './emitem-type-item-tree-exp-view-base.vue';

import view_treeexpbar from '@widgets/emitem-type/item-tree-exp-viewtreeexpbar-treeexpbar/item-tree-exp-viewtreeexpbar-treeexpbar.vue';

/**
 * 物品
 *
 * @export
 * @class EMItemTypeItemTreeExpView
 * @extends {EMItemTypeItemTreeExpViewBase}
 */
@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 EMItemTypeItemTreeExpView extends EMItemTypeItemTreeExpViewBase { }
</script>