|
|
|
@ -147,8 +147,8 @@ class Challengesjupyter extends Component {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
modifyjupyter=(propsysl)=>{
|
|
|
|
|
console.log("propsysl");
|
|
|
|
|
console.log(propsysl);
|
|
|
|
|
// console.log("propsysl");
|
|
|
|
|
// console.log(propsysl);
|
|
|
|
|
let id=this.props.match.params.shixunId;
|
|
|
|
|
var jupyter_port="";
|
|
|
|
|
try{
|
|
|
|
@ -157,7 +157,7 @@ class Challengesjupyter extends Component {
|
|
|
|
|
jupyter_port=this.state.jupyter_port;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
const url=`/shixuns/${id}/update_jupyter.json`;
|
|
|
|
|
const url=`/jupyters/save_with_tpm.json`;
|
|
|
|
|
const data={
|
|
|
|
|
identifier:id,
|
|
|
|
|
jupyter_port:jupyter_port,
|
|
|
|
|