|
|
@ -157,7 +157,7 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|
if(file.response!=undefined){
|
|
|
|
if(!file.percent || file.percent == 100){
|
|
|
|
let {attachments,fileList}=this.state;
|
|
|
|
let {attachments,fileList}=this.state;
|
|
|
|
const url = `/attachments/${file}.json`
|
|
|
|
const url = `/attachments/${file}.json`
|
|
|
|
axios.delete(url, {
|
|
|
|
axios.delete(url, {
|
|
|
|