forked from github/dataease
fix(数据大屏): 修复数据大屏位置修改点击可能会一次性增加2px问题
This commit is contained in:
parent
27e005e363
commit
20e4592ae1
@ -155,9 +155,7 @@ const onPositionChange = key => {
|
||||
)
|
||||
}
|
||||
} else {
|
||||
curComponent.value.style[key] = Math.round(
|
||||
(positionMounted.value[key] * canvasStyleData.value.scale) / 100
|
||||
)
|
||||
curComponent.value.style[key] = (positionMounted.value[key] * canvasStyleData.value.scale) / 100
|
||||
}
|
||||
|
||||
if (['Group', 'DeTabs'].includes(curComponent.value.component)) {
|
||||
|
Loading…
Reference in New Issue
Block a user