未验证 提交 91f7a4c1 编写于 作者: 无尽的音阶 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-application-applicationContext.md.

Signed-off-by: Nchengchen <chengchencr@isoftstone.com>
上级 580c8784
......@@ -78,7 +78,7 @@ export default class MyAbilityStage extends AbilityStage {
onDestroy() {
let applicationContext = this.context.getApplicationContext();
applicationContext.unregisterAbilityLifecycleCallback(lifecycleId, (error, data) => {
console.log("unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error));
console.log("unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error));
});
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册