Fix tslint

This commit is contained in:
afc163 2018-06-30 18:49:24 +08:00
parent 47621acb6c
commit 763d32ac68

View File

@ -198,7 +198,7 @@ export default class Upload extends React.Component<UploadProps, UploadState> {
file, file,
fileList: uniqBy( fileList: uniqBy(
this.state.fileList.concat(fileList.map(fileToObject)), this.state.fileList.concat(fileList.map(fileToObject)),
(item: UploadFile) => item.uid !== undefined (item: UploadFile) => item.uid !== undefined,
), ),
}); });
return false; return false;