|
|
|
@ -215,7 +215,7 @@ class Challengesjupyter extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modifyjupyter=()=>{
|
|
|
|
|
this.props.showNotification('保存中!');
|
|
|
|
|
this.props.showNotification('实训正在保存中...!');
|
|
|
|
|
|
|
|
|
|
let id=this.props.match.params.shixunId;
|
|
|
|
|
var jupyter_port="";
|
|
|
|
@ -235,12 +235,12 @@ class Challengesjupyter extends Component {
|
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
|
// this.props.showNotification(`应用成功`);
|
|
|
|
|
console.log("应用成功了");
|
|
|
|
|
this.props.showNotification('保存成功!');
|
|
|
|
|
this.props.showNotification('实训保存成功!');
|
|
|
|
|
}else{
|
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
this.props.showNotification('保存失败!');
|
|
|
|
|
this.props.showNotification('实训保存失败!');
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|