mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
refactor: 文本框代码优化
This commit is contained in:
parent
71ba2c89a4
commit
2fab9dd93a
@ -4,8 +4,8 @@
|
||||
:style="{
|
||||
top: elementInfo.top + 'px',
|
||||
left: elementInfo.left + 'px',
|
||||
width: elementInfo.vertical ? 'auto' : elementInfo.width + 'px',
|
||||
height: elementInfo.vertical ? elementInfo.height + 'px' : 'auto',
|
||||
width: elementInfo.width + 'px',
|
||||
height: elementInfo.height + 'px',
|
||||
}"
|
||||
>
|
||||
<div
|
||||
|
@ -6,7 +6,7 @@
|
||||
top: elementInfo.top + 'px',
|
||||
left: elementInfo.left + 'px',
|
||||
width: elementInfo.width + 'px',
|
||||
height: elementInfo.vertical ? elementInfo.height + 'px' : 'auto',
|
||||
height: elementInfo.height + 'px',
|
||||
}"
|
||||
>
|
||||
<div
|
||||
|
Loading…
x
Reference in New Issue
Block a user