提交 83cda8b8 编写于 作者: Q qinliwen

<add log>

Signed-off-by: Nqinliwen <qinliwen3@huawei.com>
上级 87ece284
......@@ -74,7 +74,10 @@ struct cameraOrientation {
value: `Camera ${index}`
})
}
Logger.info(this.tag, `cameraListFn testingFrequency: ${this.testingFrequency}`)
Logger.info(this.tag, `cameraListFn cameraListLength: ${this.cameraListLength}`)
this.testingFrequency = this.cameraListLength * 4
Logger.info(this.tag, `cameraListFn testingFrequency: ${this.testingFrequency}`)
}
handleTakePicture = (assetUri: string) => {
......@@ -87,6 +90,7 @@ struct cameraOrientation {
// @ts-ignore
this.surfaceId = this.mXComponentController.getXComponentSurfaceId()
CameraService.initCamera(this.surfaceId, this.cameraDeviceIndex).then(() => {
Logger.info(this.tag, `onPageShow initCamera start`)
this.cameraListFn()
})
}
......
......@@ -52,8 +52,8 @@ export struct CustomContainer {
this.isEnabled = true
this.Vue = false
this.clickFrequency++
Logger.info(`qlw`, `clickFrequency: ${this.clickFrequency}`)
Logger.info(`qlw`, `testingFrequency: ${this.testingFrequency}`)
Logger.info(`qlw`, `clickFrequency: ${this.clickFrequency}`)
Logger.info(`qlw`, `testingFrequency: ${this.testingFrequency}`)
if (this.clickFrequency === this.testingFrequency){
router.back({
url:this.Url,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册