From 7e1953575999779befa4881c5137a5ea7925727d Mon Sep 17 00:00:00 2001 From: zengyawen Date: Tue, 25 Jul 2023 10:57:47 +0000 Subject: [PATCH] update Signed-off-by: zengyawen --- .../application-dev/media/camera-preformance-imporvement.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/media/camera-preformance-imporvement.md b/zh-cn/application-dev/media/camera-preformance-imporvement.md index 0a91d759f0..35e7cd88bc 100644 --- a/zh-cn/application-dev/media/camera-preformance-imporvement.md +++ b/zh-cn/application-dev/media/camera-preformance-imporvement.md @@ -99,15 +99,15 @@ boolean isSupported = this.photoOutPut.isQuickThumbnailSupported() if (isSupported) { // 使能快速缩略图 this.photoOutPut.enableQuickThumbnail(true) -} -this.photoOutPut.on('quickThumbnail', (err, pixelmap) => { + this.photoOutPut.on('quickThumbnail', (err, pixelmap) => { if (err || pixelmap === undefined) { Logger.error(this.tag, 'photoOutPut on thumbnail failed ') return } // 显示或保存pixelmap this.showOrSavePicture(pixelmap) -}) + }) +} ``` ## 预热启动 -- GitLab