fix(图表): 修复IOS设备明细表分页位置不对问题

This commit is contained in:
wangjiahao
2025-02-21 11:53:06 +08:00
committed by 王嘉豪
parent 6ef6771ee1
commit 8677a1f73d

View File

@@ -664,11 +664,9 @@ onBeforeUnmount(() => {
const autoStyle = computed(() => {
if (isISOMobile()) {
return {
position: 'absolute',
height: 100 / scale.value + '%!important',
height: 20 * scale.value + 8 + 'px',
width: 100 / scale.value + '%!important',
left: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2
top: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2
transform: 'scale(' + scale.value + ') translateZ(0)'
} as CSSProperties
} else {