From bf65c631e347d490cf0d13734c96b78b92b88e7d Mon Sep 17 00:00:00 2001 From: "zhangyafei.echo" Date: Fri, 21 Oct 2022 18:44:11 +0800 Subject: [PATCH] IssueNo: Description:Fix import in stage-call.md Sig:SIG_ApplicationFramework Feature or BugFix: BugFix Binary Source: No Signed-off-by: zhangyafei.echo Change-Id: I64c866b853382ee9315fde4feea45d74bc7cd402 --- zh-cn/application-dev/ability/stage-ability.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/ability/stage-ability.md b/zh-cn/application-dev/ability/stage-ability.md index 4a39afa52e..262a196fea 100644 --- a/zh-cn/application-dev/ability/stage-ability.md +++ b/zh-cn/application-dev/ability/stage-ability.md @@ -176,7 +176,7 @@ context.requestPermissionsFromUser(permissions).then((data) => { 如下示例展示了AbilityStage的`onConfigurationUpdated`回调实现,系统语言和颜色模式发生变化时触发该回调。具体示例代码如下: ```ts -import Ability from '@ohos.application.Ability' +import AbilityStage from '@ohos.application.AbilityStage' import ConfigurationConstant from '@ohos.application.ConfigurationConstant' export default class MyAbilityStage extends AbilityStage { -- GitLab