From cf1496118bfc3df1ae9de4179aa52ad5dac66d7e Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 25 Jun 2024 19:39:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/workflow/common/edge.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/src/workflow/common/edge.ts b/ui/src/workflow/common/edge.ts index 0bf76fdea..f1939e9e4 100644 --- a/ui/src/workflow/common/edge.ts +++ b/ui/src/workflow/common/edge.ts @@ -21,9 +21,7 @@ class CustomEdge2 extends BezierEdge { this.isMounted = false this.handleMouseUp = (e: any) => { const element = e.target.parentNode.parentNode.querySelector('.lf-custom-edge-wrapper') - if (isMouseInElement(element, e)) { - this.props.model.isSelected = true this.props.model.graphModel.deleteEdgeById(this.props.model.id) } }