camera第一次调用页面空白

发布于 7 年前作者 gang3412625 次浏览最后编辑 7 年前来自 ask

<camera device-position=“back” flash=“auto” binderror=“error” style=“width: 100%; height: {{cameraHeight}}px;”>

<cover-view class=“controls” style=“height: {{cameraHeight}}px;{{style2}}” >

<cover-image  style=“height: {{cameraHeight}}px;” src=“{{src}}”></cover-image></cover-view>

</camera>

小程序,第一次,调用该页面时,摄像头控件为空白,之后,才会正常。

2 回复
weixie
weixie1 楼6 年前

你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

gaotao
gaotao2 楼5 年前

微信:6.7.3所有机型