From 809573e3fff9920eb0f3585649e4e05a759cf21f Mon Sep 17 00:00:00 2001 From: guoapeng Date: Sat, 12 Jul 2025 16:53:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E8=8A=82=E5=96=B7=E6=B6=82?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E4=BC=98=E5=8C=96;=20=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E5=96=B7=E6=B6=82=E5=A4=B1=E8=B4=A5=E5=8E=BB=E9=99=A4=E9=81=AE?= =?UTF-8?q?=E7=BD=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/spray/trayGraph/index.vue | 1 + src/views/spray/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/spray/trayGraph/index.vue b/src/components/spray/trayGraph/index.vue index 90771b4..e996e7f 100644 --- a/src/components/spray/trayGraph/index.vue +++ b/src/components/spray/trayGraph/index.vue @@ -76,6 +76,7 @@ const addSelect = () => { rotationEnabled: false, rotateEnabled: false, // 禁用旋转手势 rotationSnaps: [], // 移除旋转刻度 + anchorSize: 20, enabledAnchors: ['top-center', 'bottom-center', 'middle-left', 'middle-right'], // 关键修改 boundBoxFunc(oldBoundBox, newBoundBox) { const stageWidth = stage.value.width() diff --git a/src/views/spray/index.vue b/src/views/spray/index.vue index 986f4f2..bad9c36 100644 --- a/src/views/spray/index.vue +++ b/src/views/spray/index.vue @@ -199,8 +199,8 @@ const startWork = async () => { }, } - maskVisible.value = true await sendControl(params) + maskVisible.value = true currentSpeed = Number(form.value.movingSpeed) }) }