This commit is contained in:
lzp
2026-03-05 13:46:10 +08:00
parent b3051c15de
commit 232cac5805
6 changed files with 39 additions and 33 deletions

View File

@@ -26,6 +26,7 @@ export class EventManager {
}
/** 处理点击 */
handleClick(event: any) {
this.stateManager.setActiveNodeID("")
const tool = this.stateManager.tool.value
if (tool === TOOLS.TEXT) {
const { x, y, zoom } = this.vueFlow.value.viewport