Merge pull request #585 from ant-design/fix-uploadmMultiple

fix upload multiple #579
This commit is contained in:
afc163 2015-11-24 17:05:55 +08:00
commit 96ad83a31f

View File

@ -62,7 +62,7 @@ const AntUpload = React.createClass({
f.status = 'uploading';
return f;
});
nextFileList = nextFileList.concat(file);
nextFileList = nextFileList.concat(targetItem);
} else {
targetItem = fileToObject(file);
targetItem.status = 'uploading';