Skip to content

Commit

Permalink
fix 在Android环境下,小米、华为都只能选择图片,没有拍照选项。需在input标签上加capture属性 Tencent#22
Browse files Browse the repository at this point in the history
  • Loading branch information
bearyan committed Feb 10, 2017
1 parent cb93709 commit dcd83bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
<div class="weui-uploader__bd">
<ul class="weui-uploader__files" id="uploaderFiles"></ul>
<div class="weui-uploader__input-box">
<input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" multiple="">
<input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" capture="camera" multiple="" />
</div>
</div>
</div>
Expand Down

0 comments on commit dcd83bc

Please sign in to comment.