提交 f06bdbeb 编写于 作者: G ge-yafang

update docs

Signed-off-by: Nge-yafang <geyafang@huawei.com>
上级 d2a43751
...@@ -2662,7 +2662,6 @@ export default class EntryAbility extends UIAbility { ...@@ -2662,7 +2662,6 @@ export default class EntryAbility extends UIAbility {
return; return;
} }
console.info('Succeeded in loading the content.'); console.info('Succeeded in loading the content.');
});
// 获取应用主窗口。 // 获取应用主窗口。
let windowClass = null; let windowClass = null;
windowStage.getMainWindow((err, data) => { windowStage.getMainWindow((err, data) => {
...@@ -2675,6 +2674,7 @@ export default class EntryAbility extends UIAbility { ...@@ -2675,6 +2674,7 @@ export default class EntryAbility extends UIAbility {
// 获取UIContext实例。 // 获取UIContext实例。
globalThis.uiContext = windowClass.getUIContext(); globalThis.uiContext = windowClass.getUIContext();
}) })
});
} }
}; };
``` ```
...@@ -5654,7 +5654,7 @@ setFullScreen(isFullScreen: boolean, callback: AsyncCallback&lt;void&gt;): void ...@@ -5654,7 +5654,7 @@ setFullScreen(isFullScreen: boolean, callback: AsyncCallback&lt;void&gt;): void
> **说明:** > **说明:**
> >
> 从 API version 6开始支持,从API version 9开始废弃,推荐使用[setWindowSystemBarEnable()](#setwindowsystembarenable9) > 从 API version 6开始支持,从API version 9开始废弃,推荐联合使用[setWindowSystemBarEnable()](#setwindowsystembarenable9)和[setWindowLayoutFullScreen()](#setwindowlayoutfullscreen9)实现全屏
**系统能力:** SystemCapability.WindowManager.WindowManager.Core **系统能力:** SystemCapability.WindowManager.WindowManager.Core
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册