Skip to content

Commit

Permalink
fix(form): fix addonWarpStyle no work error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Oct 26, 2023
1 parent ace8571 commit e5374b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/form/src/components/FormItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const WarpFormItem: React.FC<FormItemProps & WarpFormItemProps> = ({
</Form.Item>
);
}

return (
<Form.Item
{...props}
Expand Down
1 change: 1 addition & 0 deletions packages/utils/src/pickProFormItemProps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const antdFormItemPropsList = [
// 我自定义的
'addonBefore',
'addonAfter',
'addonWarpStyle',
];

// eslint-disable-next-line @typescript-eslint/ban-types
Expand Down

0 comments on commit e5374b7

Please sign in to comment.