mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix: change wrong return value of filter
This commit is contained in:
parent
6388410c1f
commit
1faf4c621d
@ -59,7 +59,7 @@ class MyUpload extends React.Component {
|
||||
if (file.response) {
|
||||
return file.response.status === 'success';
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
|
||||
this.setState({ fileList });
|
||||
|
Loading…
Reference in New Issue
Block a user