Browse Source

fix: 调节喷涂区域优化; 开始喷涂失败去除遮罩

master
guoapeng 3 weeks ago
parent
commit
809573e3ff
  1. 1
      src/components/spray/trayGraph/index.vue
  2. 2
      src/views/spray/index.vue

1
src/components/spray/trayGraph/index.vue

@ -76,6 +76,7 @@ const addSelect = () => {
rotationEnabled: false, rotationEnabled: false,
rotateEnabled: false, // rotateEnabled: false, //
rotationSnaps: [], // rotationSnaps: [], //
anchorSize: 20,
enabledAnchors: ['top-center', 'bottom-center', 'middle-left', 'middle-right'], // enabledAnchors: ['top-center', 'bottom-center', 'middle-left', 'middle-right'], //
boundBoxFunc(oldBoundBox, newBoundBox) { boundBoxFunc(oldBoundBox, newBoundBox) {
const stageWidth = stage.value.width() const stageWidth = stage.value.width()

2
src/views/spray/index.vue

@ -199,8 +199,8 @@ const startWork = async () => {
}, },
} }
maskVisible.value = true
await sendControl(params) await sendControl(params)
maskVisible.value = true
currentSpeed = Number(form.value.movingSpeed) currentSpeed = Number(form.value.movingSpeed)
}) })
} }

Loading…
Cancel
Save