Browse Source

fix: getTargetContainer is not omit in Drawer (#24938)

pull/24944/head
07akioni 5 years ago
committed by GitHub
parent
commit
ec87ea408b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/drawer/index.tsx

1
components/drawer/index.tsx

@ -303,6 +303,7 @@ class Drawer extends React.Component<DrawerProps & ConfigConsumerProps, IDrawerS
'width',
'height',
'dropdownMatchSelectWidth',
'getTargetContainer',
])}
getContainer={
// 有可能为 false,所以不能直接判断

Loading…
Cancel
Save