This commit is contained in:
X1627315083@163.com
2026-03-17 14:44:45 +08:00
parent 8fdb2ea154
commit 9be95b2f1b

View File

@@ -56,7 +56,7 @@ export class EventManager {
mousemove_:any
/** 处理鼠标中间点击 */
mousedown(event:any) {
if (event.button === 1) {
if (event.button === 1 && !event.target.classList.contains('dragging')) {
this.vueFlowPosition = this.vueFlow.value.getTransform()
event.target.classList.add('dragging')
this.originalPosition = {