毕设任务-编辑

dev_aliyun_beta
caicai8 6 years ago
parent 5457f81c61
commit 8451742c55

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

Loading…
Cancel
Save