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

!1428 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-window.md.

Merge pull request !1428 from 葛亚芳/N/A
...@@ -189,7 +189,7 @@ getAbilityWindowMode(callback: AsyncCallback<WindowMode>): void ...@@ -189,7 +189,7 @@ getAbilityWindowMode(callback: AsyncCallback<WindowMode>): void
``` ```
window.getAbilityWindowMode((err, data) => { window.getAbilityWindowMode((err, data) => {
if (err) { if (err) {
console.error(''Failed to obtain the window mode. Cause:' + JSON.stringify(err)); console.error('Failed to obtain the window mode. Cause:' + JSON.stringify(err));
return; return;
} }
console.info('Window mode obtained. Data:' + JSON.stringify(data)) console.info('Window mode obtained. Data:' + JSON.stringify(data))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册