未验证 提交 818d076d 编写于 作者: O openharmony_ci 提交者: Gitee

!5657 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】更正image.md 拼写错误

Merge pull request !5657 from gloria/N/A
......@@ -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内容保存成图片。
})
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册