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="{
|
:style="{
|
||||||
top: elementInfo.top + 'px',
|
top: elementInfo.top + 'px',
|
||||||
left: elementInfo.left + 'px',
|
left: elementInfo.left + 'px',
|
||||||
width: elementInfo.vertical ? 'auto' : elementInfo.width + 'px',
|
width: elementInfo.width + 'px',
|
||||||
height: elementInfo.vertical ? elementInfo.height + 'px' : 'auto',
|
height: elementInfo.height + 'px',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
top: elementInfo.top + 'px',
|
top: elementInfo.top + 'px',
|
||||||
left: elementInfo.left + 'px',
|
left: elementInfo.left + 'px',
|
||||||
width: elementInfo.width + 'px',
|
width: elementInfo.width + 'px',
|
||||||
height: elementInfo.vertical ? elementInfo.height + 'px' : 'auto',
|
height: elementInfo.height + 'px',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user