未验证 提交 58543be5 编写于 作者: O openharmony_ci 提交者: Gitee

!9423 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update...

!9423 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update zh-cn/application-dev/media/remote-camera.md.修改示例代码循环错误
Merge pull request !9423 from phbing/N/A
......@@ -52,7 +52,7 @@ await cameraManager.getCameras((err, cameras) => {
cameraArray = cameras
})
for(let cameraIndex = 0; cameraIndex < cameraArray.length; cameraIndex) {
for(let cameraIndex = 0; cameraIndex < cameraArray.length; cameraIndex++) {
console.log('cameraId : ' + cameraArray[cameraIndex].cameraId) //获取相机ID
console.log('cameraPosition : ' + cameraArray[cameraIndex].cameraPosition) //获取相机位置
console.log('cameraType : ' + cameraArray[cameraIndex].cameraType) //获取相机类型
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册