From 4f73dbeb35274f4d28b406e3c56485ea03860576 Mon Sep 17 00:00:00 2001 From: gloria <80926032@qq.com> Date: Tue, 21 Jun 2022 07:16:45 +0000 Subject: [PATCH] Signed-off-by: gloria <80926032@qq.com> --- zh-cn/application-dev/media/image.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/media/image.md b/zh-cn/application-dev/media/image.md index 81246819fb..f943d17b2f 100644 --- a/zh-cn/application-dev/media/image.md +++ b/zh-cn/application-dev/media/image.md @@ -288,8 +288,8 @@ public async init(surfaceId: any) { receiver.on('imageArrival', () => { //去获取Surface中最新的buffer receiver.readNextImage((err, img) => { - img.getComponent(4, (err, componet) => { - //消费componet.byteBuffer,例如:将buffer内容保存成图片。 + img.getComponent(4, (err, component) => { + //消费component.byteBuffer,例如:将buffer内容保存成图片。 }) }) }) -- GitLab