mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 04:08:10 +08:00
fix(图表): 修复IOS设备明细表分页位置不对问题
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user