feat: 在表单提交按钮中添加 loading 状态
This commit is contained in:
@ -29,6 +29,7 @@ export const form: FormKitTypeDefinition = {
|
|||||||
props: {
|
props: {
|
||||||
type: 'submit',
|
type: 'submit',
|
||||||
label: '$submitLabel',
|
label: '$submitLabel',
|
||||||
|
loading: '$state.loading || undefined',
|
||||||
},
|
},
|
||||||
}))(),
|
}))(),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user