未验证 提交 f7ad609d 编写于 作者: O openharmony_ci 提交者: Gitee

!18851 【轻量级 PR】:update...

!18851 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-inner-application-applicationStateObserver.md.
Merge pull request !18851 from donglin/N/A
......@@ -43,5 +43,5 @@ let applicationStateObserver = {
console.log('onProcessStateChanged onProcessStateChanged: ${JSON.stringify(processData)}');
}
};
let observerCode = appManager.registerApplicationStateObserver(applicationStateObserver);
let observerCode = appManager.on('applicationState', applicationStateObserver);
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册