diff --git a/entry/src/main/ets/entryability/EntryAbility.ets b/entry/src/main/ets/entryability/EntryAbility.ets index 1b18d492b0af4c151da3956d5b04e91886a5eb28..6a0f7351679c816cae22c7de11a559a54ae6c49b 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) {