收藏
回答

苹果手机调用camera组件的scanCode模式,无法扫描,安卓手机是正常的?

<view class="main_box">

<camera

mode="scanCode"

flash="off"

device-position="back"

output-dimension="{width: 640, height: 480}"

@stop="handleStop"

@scancode="handleScanCode"

@error="handleError">

<cover-view

class='scan-animation' 

:animation="state.animationData"

></cover-view>

</camera>

</view>

回答关注问题邀请回答
收藏
登录 后发表内容