Skip to content

Commit

Permalink
chore: update props formref
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jun 24, 2023
1 parent 5e977db commit bf7ad43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form/src/layouts/DrawerForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ function DrawerForm<T = Record<string, any>>({
<BaseForm
formComponentType="DrawerForm"
layout="vertical"
formRef={formRef}
{...rest}
formRef={formRef}
onInit={(_, form) => {
if (rest.formRef) {
(
Expand Down

0 comments on commit bf7ad43

Please sign in to comment.