|
|
@ -154,10 +154,10 @@ class ShixunWorkModal extends Component{
|
|
|
|
this.props.showNotification(`请先选择分班`);
|
|
|
|
this.props.showNotification(`请先选择分班`);
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(group_ids&&group_ids.length < 2){
|
|
|
|
// if(group_ids&&group_ids.length < 2){
|
|
|
|
this.props.showNotification(`有效作品数少于2个,无法查重`);
|
|
|
|
// this.props.showNotification(`有效作品数少于2个,无法查重`);
|
|
|
|
return
|
|
|
|
// return
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
let url="/homework_commons/"+this.props.match.params.homeworkid+"/homework_code_repeat.json";
|
|
|
|
let url="/homework_commons/"+this.props.match.params.homeworkid+"/homework_code_repeat.json";
|
|
|
|
axios.post(url, {
|
|
|
|
axios.post(url, {
|
|
|
|