Skip to content

@vtj


@vtj / ui / formProps

Variable: formProps

const formProps: object

Type declaration

enterSubmit

enterSubmit: object

回车键出发提交

enterSubmit.default

default: boolean

enterSubmit.type

type: BooleanConstructor

footer: object

显示底部操作按钮

default: boolean

type: BooleanConstructor

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()

Returns

any

resetText

resetText: object

重置按钮文本

resetText.default

default: string

resetText.type

type: PropType<string | null>

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>>

Defined in

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

Released under the MIT License.