|
@@ -102,7 +102,6 @@ class NodeDetails extends React.Component {
|
|
|
this.props.clickShowTopologyForNode(this.props.topologyId, this.props.nodeId);
|
|
|
}
|
|
|
handleBeforeUnload = () => {
|
|
|
- console.log(888888888)
|
|
|
// 在这里执行你需要的清理工作
|
|
|
this.props.clickCloseDetails(this.props.nodeId);
|
|
|
};
|
|
@@ -133,7 +132,7 @@ class NodeDetails extends React.Component {
|
|
|
_this.getMethodByshape(_this)
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+ console.log(88888888888,'componentDidMount')
|
|
|
window.addEventListener('message', function(event) {
|
|
|
// 处理接收到的消息
|
|
|
const data = event.data
|