|
|
|
@ -103,14 +103,16 @@ class GraduationTasksedit extends Component{
|
|
|
|
|
}
|
|
|
|
|
// 附件相关 START
|
|
|
|
|
handleChange = (info) => {
|
|
|
|
|
let fileList = info.fileList;
|
|
|
|
|
// console.log(fileList)
|
|
|
|
|
// for(var list of fileList ){
|
|
|
|
|
// console.log(fileList)
|
|
|
|
|
// }
|
|
|
|
|
this.setState({
|
|
|
|
|
fileList: appendFileSizeToUploadFileAll(fileList),
|
|
|
|
|
});
|
|
|
|
|
if(info.file.status == "done" || info.file.status == "uploading"){
|
|
|
|
|
let fileList = info.fileList;
|
|
|
|
|
// console.log(fileList)
|
|
|
|
|
// for(var list of fileList ){
|
|
|
|
|
// console.log(fileList)
|
|
|
|
|
// }
|
|
|
|
|
this.setState({
|
|
|
|
|
fileList: appendFileSizeToUploadFileAll(fileList),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// onAttachmentRemove = (file) => {
|
|
|
|
|