diff --git a/components/upload/Upload.tsx b/components/upload/Upload.tsx index afa028d4a1..a641f45d7d 100644 --- a/components/upload/Upload.tsx +++ b/components/upload/Upload.tsx @@ -55,8 +55,9 @@ export default class Upload extends React.Component { constructor(props) { super(props); + this.state = { - fileList: this.props.fileList || this.props.defaultFileList || [], + fileList: props.fileList || props.defaultFileList || [], dragState: 'drop', }; }