1. propType [name] is not required, but has no corresponding defaultProp declaration
原因:没有设置 defaultProp 默认值。
UploadImageList.defaultProps = {
value: [],
onChange: () => { },
}
UploadImageList.propTypes = {
value: PropTypes.array,
onChange: PropTypes.func,
}