From b38efcd025947782a3ca07f11b36590c4dd66f3b Mon Sep 17 00:00:00 2001 From: guoapeng Date: Tue, 15 Jul 2025 10:00:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=96=B7=E6=B6=82=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E6=8B=96=E6=8B=BD=E4=B8=8D=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/spray/trayGraph/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/spray/trayGraph/index.vue b/src/components/spray/trayGraph/index.vue index f17ba0b..a95d0b7 100644 --- a/src/components/spray/trayGraph/index.vue +++ b/src/components/spray/trayGraph/index.vue @@ -67,12 +67,12 @@ const addSelect = () => { height: (75 - 15 * 2) * zoom, fill: 'rgba(238,10,36, 0.2)', draggable: props.editSelect, - dragBoundFunc(pos) { - return { - x: 0, // X坐标保持不变 - y: pos.y, // 允许Y坐标变化 - } - }, + // dragBoundFunc(pos) { + // return { + // x: 0, // X坐标保持不变 + // y: pos.y, // 允许Y坐标变化 + // } + // }, }) // 在onMounted中rect创建后添加拖拽监听