From a111b9a41a495733fb8d5380c3557a6df331b292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Mon, 18 Apr 2022 08:32:54 +0000 Subject: [PATCH] update zh-cn/application-dev/ability/stage-ability.md. Signed-off-by: @ge-yafang --- zh-cn/application-dev/ability/stage-ability.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/ability/stage-ability.md b/zh-cn/application-dev/ability/stage-ability.md index 916a92343f..606e1cde87 100644 --- a/zh-cn/application-dev/ability/stage-ability.md +++ b/zh-cn/application-dev/ability/stage-ability.md @@ -271,9 +271,6 @@ export default class MainAbility extends Ability { { } ``` -## 开发实例 -针对Stage模型Ability开发,有以下示例工程可供参考: - -[StageCallAbility](https://gitee.com/openharmony/app_samples/tree/master/ability/StageCallAbility) - -本示例StageCallAbility中,在Application目录的AbilityStage.ts中实现AbilityStage的接口,在MainAbility目录实现Ability的接口并设置"pages/index"为Ability的页面,在CalleeAbility目录实现另一个Ability并设置"pages/second"为Ability的页面。支持MainAbility启动CalleeAbility。 +## 相关实例 +针对Stage模型Ability开发,有以下相关示例可供参考: +- [`StageCallAbility`:StageAbility的创建与使用(eTS)(API9)](https://gitee.com/openharmony/app_samples/blob/master/ability/StageCallAbility) -- GitLab