This commit is contained in:
lzp
2026-03-17 09:36:59 +08:00
parent f0c10583e6
commit 7094da6ba5
3 changed files with 20 additions and 19 deletions

View File

@@ -227,7 +227,7 @@
onMounted(async () => {
// window['vueFlow'] = vueFlow
// window['nodes'] = nodes
eventManager.registerEvents()
if (props.config.json.length > 0) {
importFlow(props.config.json)
} else {

View File

@@ -7,7 +7,6 @@ export class EventManager {
this.stateManager = options.stateManager;
this.vueFlow = options.vueFlow
this.zoom = this.stateManager.zoom
this.registerEvents()
}
/** 处理视口变化 */
handleViewportChange(e: any) {