|
|
@ -188,7 +188,7 @@ class Paperlibraryeditid extends Component {
|
|
|
|
.then((result) => {
|
|
|
|
.then((result) => {
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
// this.props.showNotification(`试卷更新成功`);
|
|
|
|
// this.props.showNotification(`试卷更新成功`);
|
|
|
|
this.props.history.push('/paperlibrary');
|
|
|
|
this.props.history.push('/paperlibrary/see/'+this.props.match.params.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).catch((error) => {
|
|
|
|
}).catch((error) => {
|
|
|
|
//console.log(error);
|
|
|
|
//console.log(error);
|
|
|
|