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) }) }