src/views/dnc/base/modules/DeviceStructure/DeviceStructureMainBottom.vue
@@ -1,10 +1,10 @@
<template>
  <a-tabs style="height: 100%" v-model="activeTabKey" @change="handleTabChange">
    <a-tab-pane :key="1" tab="设备属性" v-if="currentTreeNodeInfo.equipmentId">
    <a-tab-pane :key="1" tab="设备属性" v-if="currentTreeNodeInfo.type===2&&!currentDocumentInfo.docId">
      <DeviceInfo :currentLevelDetails="currentTreeNodeInfo.entity" :size="containerSize"/>
    </a-tab-pane>
    <template v-else>
    <template v-if="currentDocumentInfo.docId">
      <a-tab-pane :key="1" tab="文档属性">
        <DocumentInfo :currentLevelDetails="currentDocumentInfo" :size="containerSize"/>
      </a-tab-pane>
@@ -55,6 +55,14 @@
        hasLoadedDataTabKeyArray: []
      }
    },
    watch: {
      currentTreeNodeInfo: {
        handler(value) {
          this.currentDocumentInfo = {}
        },
        immediate: true
      }
    },
    created() {
      this.$bus.$on('sendCurrentClickedDocumentInfo', this.receiveCurrentDocumentInfo)
      this.$bus.$on('reloadMainBottomTableData', this.reloadMainBottomTableData)