🐛 Bug: default ability name

This commit is contained in:
cheliangzhao 2023-10-08 14:36:06 +08:00
parent 1f3bccaa3d
commit d3678eaf35

View File

@ -17,7 +17,7 @@ export default class EntryAbility extends UIAbility {
// Main window is created, set main page for this ability
hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate');
windowStage.loadContent('pages/GamePage', (err, data) => {
windowStage.loadContent('pages/Init', (err, data) => {
if (err.code) {
hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? '');
return;