src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue
@@ -16,7 +16,7 @@
    <template v-else>
      <a-tabs>
        <a-tab-pane :key="1" tab="车间属性">
        <a-tab-pane :key="1" tab="属性">
          <WorkshopInfo :currentLevelDetails="currentTreeNodeInfo" :size="containerSize"/>
        </a-tab-pane>
      </a-tabs>
@@ -37,7 +37,7 @@
      DeviceStructureMainBottom
    },
    created() {
      this.$bus.$on('sendCurrentTreeNodeInfo', this.receiveCurrentTreeNodeInfo)
      this.$bus.$on('sendDeviceTreeNodeInfo', this.receiveCurrentTreeNodeInfo)
    },
    data() {
      return {
@@ -53,12 +53,11 @@
      receiveCurrentTreeNodeInfo(treeNodeInfo) {
        // 从树组件接受树节点信息后从父组件流入子组件
        this.currentTreeNodeInfo = treeNodeInfo
        if (treeNodeInfo.equipmentId) {
        if (treeNodeInfo.type === 2) {
          this.$nextTick(() => {
            if (this.$refs.mainTopRef) this.$refs.mainTopRef.loadHasSentDocumentListData()
            if (this.$refs.mainTopRef) this.$refs.mainTopRef.releaseLoadDocumentListApi()
          })
        }
        console.log('currentTreeNodeInfo------------------', this.currentTreeNodeInfo)
      }
    }
  }