feat(design, tdesign-vue-next-adapter): formItem新增labelAlign prop
This commit is contained in:
@@ -184,6 +184,7 @@ export interface FormItemProps {
|
||||
labelWidth?: string | number;
|
||||
rules?: any;
|
||||
extra?: string;
|
||||
labelPosition?: string;
|
||||
}
|
||||
|
||||
export interface InputProps {
|
||||
|
||||
@@ -349,6 +349,7 @@ const adapter: any = {
|
||||
name: props.prop,
|
||||
rules: props.rules,
|
||||
help: props.extra,
|
||||
labelAlign: props.labelPosition,
|
||||
}),
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user