diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index f79301be0..6c57bcff8 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -135,6 +135,13 @@ class TPMBanner extends Component { this.setState({ openknow:true }) + setTimeout(()=>{ + this.openknow() + this.setState({ + openknow:false + }) + }, 10000); + }else{ this.setState({ openknow:false @@ -158,6 +165,12 @@ class TPMBanner extends Component { this.setState({ openshowpublictype: true }) + setTimeout(()=>{ + this.openshowpublic() + this.setState({ + openshowpublictype:false + }) + }, 10000); } else { this.setState({ openshowpublictype: false diff --git a/public/react/src/modules/tpm/TPMIndex.js b/public/react/src/modules/tpm/TPMIndex.js index 86d0e9637..5edea264f 100644 --- a/public/react/src/modules/tpm/TPMIndex.js +++ b/public/react/src/modules/tpm/TPMIndex.js @@ -163,7 +163,7 @@ class TPMIndex extends Component { openknows:false }) let newTPMsettings=this.props.user&&this.props.user.user_id+'newTPMsettings' - storage.setItem(newTPMsettings,true); + storage.setItem(newTPMsettings,false); } @@ -174,7 +174,7 @@ class TPMIndex extends Component { let newTPMsettings=window.localStorage.getItem(getnewTPMsettings) if(newTPMsettings===undefined||newTPMsettings===false||newTPMsettings===null){ this.setState({ - openknows:true + openknows:false }) }else{ this.setState({ @@ -453,20 +453,20 @@ class TPMIndex extends Component { { this.state.is_jupyter===false? 排行榜 :""} - {this.state.identity >4||this.state.identity===undefined ? "":this.state.openknows===true? - -
更多设置在这里,点击“配置”看一看~
-
- - } - trigger="click" - placement="top" - visible={this.state.openknows} - > -
-
:""} + {/*{this.state.identity >4||this.state.identity===undefined ? "":this.state.openknows===true?*/} + {/* */} + {/*
更多设置在这里,点击“配置”看一看~
*/} + {/*
*/} + {/* */} + {/* }*/} + {/* trigger="click"*/} + {/* placement="top"*/} + {/* visible={this.state.openknows}*/} + {/* >*/} + {/* */} + {/*
:""}*/} {this.state.identity >4||this.state.identity===undefined ? "": diff --git a/public/react/src/modules/tpm/jupyter/index.js b/public/react/src/modules/tpm/jupyter/index.js index 6883aa72f..8c07b0bee 100644 --- a/public/react/src/modules/tpm/jupyter/index.js +++ b/public/react/src/modules/tpm/jupyter/index.js @@ -367,7 +367,7 @@ function JupyterTPI (props) { - {endjupytertime===false?"":} + {/*{endjupytertime===false?"":}*/}

diff --git a/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js b/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js index c1a5f8dea..d53a88327 100644 --- a/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js +++ b/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js @@ -550,7 +550,7 @@ class Challengesjupyter extends Component { {/*this.state.jupytertime*/} - {endtimes===false?"":} + {/*{endtimes===false?"":}*/}