未验证 提交 f19a95ef 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-window.md.

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 be5bdb7e
...@@ -189,7 +189,7 @@ getAbilityWindowMode(callback: AsyncCallback&lt;WindowMode&gt;): void ...@@ -189,7 +189,7 @@ getAbilityWindowMode(callback: AsyncCallback&lt;WindowMode&gt;): 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.
先完成此消息的编辑!
想要评论请 注册