fix
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { VueFlow, useVueFlow } from '@vue-flow/core'
|
||||
import { computed, ref, watch, onMounted, nextTick, provide, onBeforeMount } from 'vue'
|
||||
import { computed, ref, watch, onMounted, nextTick, provide, onBeforeUnmount } from 'vue'
|
||||
import { useLayout } from '@/utils/treeDiagram'
|
||||
import { NODE_TYPE, NODE_COMPONENT } from './tools/index.d'
|
||||
// 组件
|
||||
@@ -252,7 +252,7 @@
|
||||
})
|
||||
}
|
||||
})
|
||||
onBeforeMount(() => {
|
||||
onBeforeUnmount(() => {
|
||||
stateManager.dispose()
|
||||
eventManager.dispose()
|
||||
flowManager.dispose()
|
||||
|
||||
Reference in New Issue
Block a user