处理刷新

chromesetting
杨树林 5 years ago
parent bd2e25ec00
commit 09aecf625b

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

Loading…
Cancel
Save