feat(design, tdesign-vue-next-adapter): formItem新增labelAlign prop

This commit is contained in:
roymondchen 2025-11-18 19:09:14 +08:00
parent 310aa47c1d
commit 0ecc116652
2 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,7 @@ export interface FormItemProps {
labelWidth?: string | number; labelWidth?: string | number;
rules?: any; rules?: any;
extra?: string; extra?: string;
labelPosition?: string;
} }
export interface InputProps { export interface InputProps {

View File

@ -349,6 +349,7 @@ const adapter: any = {
name: props.prop, name: props.prop,
rules: props.rules, rules: props.rules,
help: props.extra, help: props.extra,
labelAlign: props.labelPosition,
}), }),
}, },