-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,11 +57,7 @@ export default class DialogWrap extends React.Component<IDialogPropTypes, any> { | |
container.setAttribute('id', `${prefixCls}-container`); | ||
document.body.appendChild(container); | ||
} | ||
ReactDOM.unstable_renderSubtreeIntoContainer( | ||
this, | ||
this.getComponent(visible), | ||
container, | ||
); | ||
ReactDOM.render(this.getComponent(visible), container); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
silentcloud
Author
Member
|
||
} | ||
|
||
render() { | ||
|
1 comment
on commit 65fd3a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不用 ReactDOM.createPortal?