mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
parent
c1ce2cd82c
commit
0c7ce9db17
@ -55,8 +55,9 @@ export default class Upload extends React.Component<UploadProps, any> {
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.state = {
|
||||
fileList: this.props.fileList || this.props.defaultFileList || [],
|
||||
fileList: props.fileList || props.defaultFileList || [],
|
||||
dragState: 'drop',
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user