From 24b4a261bf7eba8b4b63f8d68ad50d31e09c9f43 Mon Sep 17 00:00:00 2001 From: chyyy0213 Date: Fri, 10 Feb 2023 12:36:24 +0800 Subject: [PATCH] bugfix for setAspectRatio Signed-off-by: chyyy0213 Change-Id: I06172389202705d52703c748876dbd05a184679a --- zh-cn/application-dev/reference/apis/js-apis-window.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-window.md b/zh-cn/application-dev/reference/apis/js-apis-window.md index e80202ae57..a55ad9f636 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-window.md +++ b/zh-cn/application-dev/reference/apis/js-apis-window.md @@ -4572,7 +4572,7 @@ try { console.error('Failed to set the aspect ratio of window. Cause:' + JSON.stringify(err)); return; } - console.error('Failed to set the aspect ratio of window. Cause:' + JSON.stringify(err)); + console.error('Succeeded in setting the aspect ratio of window.'); }); } catch (exception) { console.error('Failed to set the aspect ratio of window. Cause: ' + JSON.stringify(exception)); -- GitLab