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 e80202ae57e2d9f1059041bc6888c02ca9a9245a..a55ad9f63684ea7953339b992700de5acf586cd8 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));