毕设任务-编辑

dev_aliyun_beta
caicai8 6 years ago
parent 5457f81c61
commit 8451742c55

@ -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) => {

Loading…
Cancel
Save