提交 7cd8b340 编写于 作者: B Benjy Cui

chore: remove useless `div`

上级 0bd2ed93
...@@ -29,6 +29,7 @@ export default function (props) { ...@@ -29,6 +29,7 @@ export default function (props) {
visible: false visible: false
}); });
ReactDOM.unmountComponentAtNode(div); ReactDOM.unmountComponentAtNode(div);
div.parentNode.removeChild(div);
} }
function onCancel() { function onCancel() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册