Merge branch 'xhf' of http://git.znkjfw.com/ak/zn-admin-vue3-wcs into xhf
This commit is contained in:
commit
1f77a0b5d2
@ -503,6 +503,7 @@ const mapClick = (e) => {
|
||||
if (toolbarSwitchType.value === 'ranging') {
|
||||
measureDistancesClick(e)
|
||||
}
|
||||
disposeEventPoints(e)
|
||||
}
|
||||
//输入文字样式改变
|
||||
const textFormSuccess = (form) => {
|
||||
@ -1305,6 +1306,8 @@ const disposeEventPoints = (event) => {
|
||||
const actualLocationX = (x - imgBgObj.origin[0]) / imgBgObj.resolution
|
||||
const actualLocationY = (y - imgBgObj.origin[1]) / imgBgObj.resolution
|
||||
|
||||
console.log(actualLocationX, actualLocationY, '实际坐标')
|
||||
|
||||
return {
|
||||
x,
|
||||
y,
|
||||
|
Loading…
Reference in New Issue
Block a user