fix: drawer rootStyle

This commit is contained in:
二货机器人 2022-08-23 21:57:11 +08:00
parent 2b38025710
commit 4ca73c67bc

View File

@ -57,8 +57,6 @@ function Drawer(props: DrawerProps) {
drawerStyle,
open,
children,
className,
style,
title,
headerStyle,
onClose,
@ -196,7 +194,6 @@ function Drawer(props: DrawerProps) {
height={mergedHeight}
rootClassName={drawerClassName}
getContainer={getContainer}
rootStyle={style}
>
<div className={`${prefixCls}-wrapper-body`} style={{ ...drawerStyle }}>
{renderHeader()}