diff --git a/zh-cn/application-dev/application-models/start-pageability-from-stage.md b/zh-cn/application-dev/application-models/start-pageability-from-stage.md index 39f6294c2243a96e8d7b87f1cb10b8d5c4fa791d..379aae7d5c26ccecfccb683913b56fbe3a210908 100644 --- a/zh-cn/application-dev/application-models/start-pageability-from-stage.md +++ b/zh-cn/application-dev/application-models/start-pageability-from-stage.md @@ -8,6 +8,9 @@ UIAbilityå¯åŠ¨PageAbilityå’ŒUIAbilityå¯åŠ¨UIAbilityçš„æ–¹å¼å®Œå…¨ç›¸åŒã€‚ +> **说明:** +> 需注æ„FA模型ä¸abilityNameç”±bundleName + AbilityName组æˆï¼Œå…·ä½“è§ç¤ºä¾‹ã€‚ + ```ts import UIAbility from '@ohos.app.ability.UIAbility'; @@ -25,7 +28,7 @@ export default class EntryAbility extends UIAbility { }); let want = { bundleName: "com.ohos.fa", - abilityName: "EntryAbility", + abilityName: "com.ohos.fa.EntryAbility", }; this.context.startAbility(want).then(() => { console.info('Start Ability successfully.'); diff --git a/zh-cn/application-dev/application-models/start-uiability-from-fa.md b/zh-cn/application-dev/application-models/start-uiability-from-fa.md index c0c70139d675f8f231ec30d3a18ac3482609949b..a904c90557e3c583313bb0054cd9ff4d6f786354 100644 --- a/zh-cn/application-dev/application-models/start-uiability-from-fa.md +++ b/zh-cn/application-dev/application-models/start-uiability-from-fa.md @@ -14,7 +14,7 @@ import featureAbility from '@ohos.ability.featureAbility'; let parameter = { "want": { bundleName: "com.ohos.stage", - abilityName: "com.ohos.stage.EntryAbility" + abilityName: "EntryAbility" } }; featureAbility.startAbility(parameter).then((code) => {