mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 14:31:00 +08:00
Merge pull request #12190 from dataease/pr@dev-v2@fix_position
fix(数据大屏): 修复数据大屏位置修改点击可能会一次性增加2px问题
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user