Uploader组件图片上传方式问题
leeping88901024 opened this issue · comments
我想从相册取图片,然后
我把代码改成这样
<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"注释了,但仍然是打开相机取图片。