camera第一次调用页面空白
发布于 5 年前 作者 gang34 12475 次浏览 来自 问答

<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 回复

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

微信:6.7.3所有机型

回到顶部