Merge pull request #144 from 948764321/bug-fix/vertical-text-box-rotation

fix: text 文本框宽度异常导致旋转异常
This commit is contained in:
LLzzZZ 2022-08-25 20:48:43 +08:00 committed by GitHub
commit 71ba2c89a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
:style="{
top: elementInfo.top + 'px',
left: elementInfo.left + 'px',
width: elementInfo.vertical ? 'auto' : elementInfo.width + 'px',
width: elementInfo.width + 'px',
height: elementInfo.vertical ? elementInfo.height + 'px' : 'auto',
}"
>