Browse Source

fix: 喷涂区域拖拽不限制

master
guoapeng 3 weeks ago
parent
commit
b38efcd025
  1. 12
      src/components/spray/trayGraph/index.vue

12
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
// }
// },
})
// onMountedrect

Loading…
Cancel
Save