修改线

This commit is contained in:
2025-12-18 10:19:42 +08:00
parent 1e0edcea59
commit eb651f3299
2 changed files with 2 additions and 3 deletions

View File

@ -137,8 +137,7 @@ class DrawPolyline extends Draw {
this.end()
}
else {
// cb(cache_positions.length)
cb(null, cache_positions)
cb(cache_positions.length)
}
})
this.event.mouse_right((movement, cartesian) => {

View File

@ -72,7 +72,7 @@ class BatchModel extends Base {
break;
}
Draw && Draw.start((a, positions) => {
console.log(positions, 'positions')
if (!positions) { return }
this.options.positions = positions;
//判断范围是否过大
if (options.type == '面') {