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

!8725 【轻量级 PR】:update zh-cn/application-dev/windowmanager/application-window-stage.md.

Merge pull request !8725 from 葛亚芳/N/A
...@@ -351,7 +351,7 @@ class MainAbility extends Ability { ...@@ -351,7 +351,7 @@ class MainAbility extends Ability {
onWindowStageCreate(windowStage) { onWindowStageCreate(windowStage) {
// 2. 创建悬浮窗。 // 2. 创建悬浮窗。
var windowClass = null; var windowClass = null;
window.create(this.context, "floatWindow", window.WindowType.TYPE_FlOAT, (err, data) => { window.create(this.context, "floatWindow", window.WindowType.TYPE_FLOAT, (err, data) => {
if (err.code) { if (err.code) {
console.error('Failed to create the floatWindow. Cause: ' + JSON.stringify(err)); console.error('Failed to create the floatWindow. Cause: ' + JSON.stringify(err));
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册