Skip to content

@vtj


@vtj / ui / formProps

Variable: formProps ​

const formProps: object

Defined in: packages/ui/types/components/form/types.d.ts:5

Type Declaration ​

enterSubmit ​

enterSubmit: object

回车键出发提交

enterSubmit.default ​

default: boolean

enterSubmit.type ​

type: BooleanConstructor

footer: object

显示底部操作按钮

default: boolean

type: BooleanConstructor

footerAlign ​

footerAlign: object

底部按钮对齐方式

footerAlign.default ​

default: string

footerAlign.type ​

type: PropType<"left" | "center" | "right">

inline ​

inline: object

inline模式

inline.type ​

type: BooleanConstructor

inlineColumns ​

inlineColumns: object

inline模式显示列数

inlineColumns.type ​

type: NumberConstructor

model ​

model: object

表单模型

model.type ​

type: PropType<Record<string, any>>

model.default() ​

default(): any

Returns ​

any

resetText ​

resetText: object

重置按钮文本

resetText.default ​

default: string

resetText.type ​

type: PropType<string | null>

sticky ​

sticky: object

开启 sticky

sticky.default ​

default: boolean

sticky.type ​

type: BooleanConstructor

submitMethod ​

submitMethod: object

表单提交处理方法

submitMethod.type ​

type: PropType<(model) => Promise<any>>

submitText ​

submitText: object

提交按钮文本

submitText.default ​

default: string

submitText.type ​

type: PropType<string | null>

tooltipMessage ​

tooltipMessage: object

是否在tooltip显示校验信息

tooltipMessage.default ​

default: undefined

tooltipMessage.type ​

type: PropType<boolean | Partial<ElTooltipProps>>