Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploader组件图片上传方式问题 #291

Open
leeping88901024 opened this issue Oct 6, 2018 · 0 comments
Open

Uploader组件图片上传方式问题 #291

leeping88901024 opened this issue Oct 6, 2018 · 0 comments

Comments

@leeping88901024
Copy link

我想从相册取图片,然后
我把代码改成这样
<input
ref="uploader"//let react to reset after onchange
className="weui-uploader__input"
type="file"
accept="image/*"
//capture="camera"
onChange={this.handleChange.bind(this)}
{...inputProps}
编译的的生成的react-weui.js、react-weui.min.js的capture="camera"注释了,但仍然是打开相机取图片。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant