mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-25 18:32:09 +08:00
feat(form): form-dialog,form-drawer新增inline,label-position配置
This commit is contained in:
parent
2bd1033665
commit
7bf59929b0
@ -25,6 +25,8 @@
|
||||
:init-values="values"
|
||||
:parent-values="parentValues"
|
||||
:label-width="labelWidth"
|
||||
:label-position="labelPosition"
|
||||
:inline="inline"
|
||||
@change="changeHandler"
|
||||
></Form>
|
||||
<slot></slot>
|
||||
@ -78,6 +80,8 @@ const props = withDefaults(
|
||||
fullscreen?: boolean;
|
||||
disabled?: boolean;
|
||||
title?: string;
|
||||
inline?: boolean;
|
||||
labelPosition?: string;
|
||||
zIndex?: number;
|
||||
size?: 'small' | 'default' | 'large';
|
||||
confirmText?: string;
|
||||
|
@ -21,6 +21,8 @@
|
||||
:init-values="values"
|
||||
:parent-values="parentValues"
|
||||
:label-width="labelWidth"
|
||||
:label-position="labelPosition"
|
||||
:inline="inline"
|
||||
@change="changeHandler"
|
||||
></Form>
|
||||
<slot></slot>
|
||||
@ -71,6 +73,8 @@ withDefaults(
|
||||
zIndex?: number;
|
||||
size?: 'small' | 'default' | 'large';
|
||||
confirmText?: string;
|
||||
inline?: boolean;
|
||||
labelPosition?: string;
|
||||
}>(),
|
||||
{
|
||||
closeOnPressEscape: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user