fix: 修复前后两个值反了的时候绘制方框出现的问题
This commit is contained in:
parent
5c8f3f1671
commit
80b77a2eb7
|
@ -294,7 +294,12 @@ export default {
|
|||
this.initChart()
|
||||
},
|
||||
|
||||
/**
|
||||
* 设置方框范围
|
||||
* @param {number[][]} boundary
|
||||
*/
|
||||
setBoundaryList(boundary) {
|
||||
boundary.forEach((item) => item.sort((a, b) => a - b))
|
||||
this.boundary = boundary
|
||||
this.reDrawRect()
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user