react-core-image-upload
react-core-image-upload copied to clipboard
a component for image to upload and crop
三个事件 imageChanged 这个事件不起作用,请问可以修复吗
当`e.target.files[0].size < this.props.maxFileSize`时: options is not defined react-core-image-upload/src/react-core-image-upload.js 第125行
Invalid prop `compress` of type `string` supplied to `t`, expected `number`.
Warning: Component t declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?
Component t declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?
Component t declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?
I download the demo and run it. Changing cropRatio to "1:4" and it does not work, and can not see cropped image
保存之后报错 但是network接口返回成功了 imageUploaded事件里面res undefined 这是咋回事
感觉好像还是个半成品... 只能先换其他的用了。有待完善