🐛 fix markStyle affset style

revert #12125

close #13850
This commit is contained in:
afc163 2018-12-25 15:21:17 +08:00
parent 3a6e0e2dfa
commit 9f54ab2bb4
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48

View File

@ -203,10 +203,9 @@ export default class Drawer extends React.Component<DrawerProps, IDrawerState> {
};
getRcDrawerStyle = () => {
const { zIndex, placement, maskStyle, style } = this.props;
const { zIndex, placement, style } = this.props;
const { push } = this.state;
return {
...maskStyle,
zIndex,
transform: push ? this.getPushTransform(placement) : undefined,
style,