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

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

Loading…
Cancel
Save