From f3dd9e945530b6628f4183f83218e391465974c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=85=B3=E9=B9=8F?= Date: Tue, 5 Sep 2023 10:54:05 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-image.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘关鹏 --- zh-cn/application-dev/reference/apis/js-apis-image.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-image.md b/zh-cn/application-dev/reference/apis/js-apis-image.md index 1363dc111b..5c154c91cf 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-image.md +++ b/zh-cn/application-dev/reference/apis/js-apis-image.md @@ -751,7 +751,7 @@ rotate(angle: number, callback: AsyncCallback\): void import {BusinessError} from '@ohos.base' let angle = 90.0; pixelmap.rotate(angle, (err : BusinessError) => { - if (err) { + if (err) { console.error("Failed to set rotation."); return; } else { -- GitLab