Merge pull request #1324 from dataease/pr@dev@refactor_auth-model

fix: 文本组件根据仪表板缩放比例自动缩放文本大小和间隙,防止编辑和预览不一致
This commit is contained in:
王嘉豪 2021-11-30 11:47:32 +08:00 committed by GitHub
commit 6f50a9ca56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,13 +80,14 @@ export default {
panelId: '',
needToChangeHeight: [
'top',
'height',
'fontSize',
'borderWidth'
'height'
],
needToChangeWidth: [
'left',
'width'
'width',
'fontSize',
'borderWidth',
'letterSpacing'
],
scaleWidth: '100',
scaleHeight: '100',