111
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user