chromesetting
杨树林 5 years ago
parent 7e713fe03a
commit 534f4f93be

@ -289,14 +289,10 @@ class TPMDataset extends Component {
handleChange = (info) => { handleChange = (info) => {
if(info.file.status == "done" || info.file.status == "uploading" || info.file.status === 'removed'){ if(info.file.status == "done" || info.file.status == "uploading" || info.file.status === 'removed'){
let fileList = info.fileList; let fileList = info.fileList;
this.setState({ this.setState({
fileList: appendFileSizeToUploadFileAll(fileList), fileList: appendFileSizeToUploadFileAll(fileList),
}); });
if(info.file.status === 'done'){ if(info.file.status === 'done'){
console.log("handleChange");
console.log(info);
//done 成功就会调用这个方法 //done 成功就会调用这个方法
this.getdatas(); this.getdatas();
} }

Loading…
Cancel
Save