From 654667e8641e35dbc016909708d4d6e9f7e419da Mon Sep 17 00:00:00 2001 From: Hacker_DL Date: Thu, 17 Jul 2025 02:49:09 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hacker_DL --- entry/src/main/ets/entryability/EntryAbility.ets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entry/src/main/ets/entryability/EntryAbility.ets b/entry/src/main/ets/entryability/EntryAbility.ets index 1b18d49..6a0f735 100644 --- a/entry/src/main/ets/entryability/EntryAbility.ets +++ b/entry/src/main/ets/entryability/EntryAbility.ets @@ -28,6 +28,8 @@ export default class EntryAbility extends UIAbility { } onWindowStageCreate(windowStage: window.WindowStage): void { + // 在EntryAbility.ets代码文件中,通过windowStage.loadContent方法加载LauncherPage + // In the entryability.ets code file, the LauncherPage is loaded via the windowStage.loadContent method Logger.info(CommonConstants.ENTRY_ABILITY_TAG, 'onWindowStageCreate'); windowStage.loadContent('pages/LauncherPage', (err: BusinessError, data) => { if (err.code) { -- Gitee