|
|
@ -243,14 +243,9 @@ class Challengesjupyter extends Component {
|
|
|
|
enlarge:bool
|
|
|
|
enlarge:bool
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
daoruzhon=()=>{
|
|
|
|
Importingfiles=()=>{
|
|
|
|
var _iframe = document.getElementById("frame");
|
|
|
|
// 导入文件
|
|
|
|
if(_iframe == null || _iframe == undefined || _iframe == ""){
|
|
|
|
|
|
|
|
console.log("framenull");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log("framego");
|
|
|
|
|
|
|
|
_iframe.contentWindow.postMessage("Parentwindow", "*");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
@ -414,7 +409,7 @@ class Challengesjupyter extends Component {
|
|
|
|
}} onClick={()=>this.onclki(true)}></i>
|
|
|
|
}} onClick={()=>this.onclki(true)}></i>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
<div className="challenbaocun" ><p
|
|
|
|
<div className="challenbaocun" ><p
|
|
|
|
className="challenbaocuntest" onClick={()=>this.daoruzhon()}>导入</p>
|
|
|
|
className="challenbaocuntest" onClick={()=>this.Importingfiles()}>导入</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|