提交 bf65c631 编写于 作者: Z zhangyafei.echo

IssueNo:

Description:Fix import in stage-call.md
Sig:SIG_ApplicationFramework
Feature or BugFix: BugFix
Binary Source: No
Signed-off-by: Nzhangyafei.echo <zhangyafei12@huawei.com>
Change-Id: I64c866b853382ee9315fde4feea45d74bc7cd402
上级 73c6e076
...@@ -176,7 +176,7 @@ context.requestPermissionsFromUser(permissions).then((data) => { ...@@ -176,7 +176,7 @@ context.requestPermissionsFromUser(permissions).then((data) => {
如下示例展示了AbilityStage的`onConfigurationUpdated`回调实现,系统语言和颜色模式发生变化时触发该回调。具体示例代码如下: 如下示例展示了AbilityStage的`onConfigurationUpdated`回调实现,系统语言和颜色模式发生变化时触发该回调。具体示例代码如下:
```ts ```ts
import Ability from '@ohos.application.Ability' import AbilityStage from '@ohos.application.AbilityStage'
import ConfigurationConstant from '@ohos.application.ConfigurationConstant' import ConfigurationConstant from '@ohos.application.ConfigurationConstant'
export default class MyAbilityStage extends AbilityStage { export default class MyAbilityStage extends AbilityStage {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册