|
@@ -102,13 +102,13 @@ class NodeDetails extends React.Component {
|
|
|
|
|
|
|
|
|
//上线时打开开始
|
|
|
- // this.setQueryParams();//做为iframe嵌套时打开,上线时打开
|
|
|
- // const traceURL = `http://${parent.location.hostname}`
|
|
|
- // this.setState({
|
|
|
- // traceUrl:traceURL
|
|
|
- // },()=>{
|
|
|
- // console.log(this.state.traceUrl,'traceUrl,用于traceid跳转')
|
|
|
- // })
|
|
|
+ this.setQueryParams();//做为iframe嵌套时打开,上线时打开
|
|
|
+ const traceURL = `http://${parent.location.hostname}`
|
|
|
+ this.setState({
|
|
|
+ traceUrl:traceURL
|
|
|
+ },()=>{
|
|
|
+ console.log(this.state.traceUrl,'traceUrl,用于traceid跳转')
|
|
|
+ })
|
|
|
//上线时打开结束
|
|
|
|
|
|
// this.getNodeBasic();
|