Skip to content

@vtj


@vtj / ui / dialogFormProps

Variable: dialogFormProps ​

const dialogFormProps: object

Defined in: packages/ui/types/components/dialog-form/types.d.ts:4

Type Declaration ​

cancel ​

cancel: object

cancel.default ​

default: string

cancel.type ​

type: (BooleanConstructor | StringConstructor)[]

formProps ​

formProps: object

formProps.type ​

type: PropType<Record<string, any>>

model ​

model: object

表单模型

model.type ​

type: PropType<Record<string, any>>

model.default() ​

default(): any

Returns ​

any

modelValue ​

modelValue: object

modelValue.default ​

default: boolean

modelValue.type ​

type: BooleanConstructor

rules ​

rules: object

rules.type ​

type: PropType<FormRules>

size ​

size: object

size.type ​

type: PropType<BaseSize>

submit ​

submit: object

submit.default ​

default: string

submit.type ​

type: (BooleanConstructor | StringConstructor)[]

submitMethod ​

submitMethod: object

表单提交处理方法, return true 关闭弹窗

submitMethod.type ​

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