This commit is contained in:
2024-01-25 09:41:31 +08:00
parent 09e970245c
commit 28536af48b
5 changed files with 68 additions and 26 deletions

View File

@@ -80,7 +80,7 @@ function onReady(payload: {
:tabSize="4"
:placeholder="props.placeholder"
:style="{
height: props.label ? 'calc(100% - 60px)' : '100%',
height: !!props.label ? 'calc(100% - 60px)' : '100%',
fontSize: props.fontSize + 'px',
}"
@change="onChange"