react-qiniu icon indicating copy to clipboard operation
react-qiniu copied to clipboard

A React Component to upload file to Qiniu

Results 11 react-qiniu issues
Sort by recently updated
recently updated
newest added

Bumps [eslint](https://github.com/eslint/eslint) from 0.23.0 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...

dependencies

react v16.0 将会废除 React.PropTypes,这里将 index.js 中的 PropTypes 的引入改为 从库 prop-types 中引入。

请教一下各位,上传图片,这个错误如何解决? Unhandled rejection SuperagentPromiseError: cannot POST http://upload.qiniu.com (400) at eval (eval at 1900 (http://localhost:8000/6.async.js:55:2), :68:19) at Request.callback (eval at 1938 (http://localhost:8000/6.async.js:321:2), :804:3) at Request.eval (eval at 1938 (http://localhost:8000/6.async.js:321:2), :527:10) at...

按照example中的步骤生成script.js后,在浏览器中打开index.html并上传文件提示: ![image](https://cloud.githubusercontent.com/assets/114038/22639407/ebc68b3c-ec88-11e6-8e77-c5a43cff7581.png)

加了一个属性去判断是否要自动上传至七牛云 ``` propTypes: { onDrop: React.PropTypes.func.isRequired, token: React.PropTypes.string.isRequired, // called before upload to set callback to files onUpload: React.PropTypes.func, size: React.PropTypes.number, style: React.PropTypes.object, supportClick: React.PropTypes.bool, accept: React.PropTypes.string, multiple: React.PropTypes.bool, autoUpload:...