mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
fix(数据大屏): 修复大屏配置缩放方式,不做缩放的情况下画板没有居中显示问题
This commit is contained in:
committed by
xuwei-fit2cloud
parent
e636117dc5
commit
e800b6f6db
@@ -171,6 +171,7 @@ const canvasStyle = computed(() => {
|
||||
if (canvasStyleData.value?.screenAdaptor === 'keep') {
|
||||
style['height'] = canvasStyleData.value?.height + 'px'
|
||||
style['width'] = canvasStyleData.value?.width + 'px'
|
||||
style['margin'] = 'auto'
|
||||
} else {
|
||||
style['height'] = dashboardActive.value
|
||||
? downloadStatus.value
|
||||
|
||||
Reference in New Issue
Block a user