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

!10129 【输入法框架】文档代码问题修复

Merge pull request !10129 from 赵凌岚/master
...@@ -48,7 +48,8 @@ startAbility(want: Want, callback: AsyncCallback<void>): void; ...@@ -48,7 +48,8 @@ startAbility(want: Want, callback: AsyncCallback<void>): void;
```js ```js
let want = { let want = {
'bundleName': 'com.example.myapp', 'bundleName': 'com.example.myapp',
'abilityName': 'MyAbility'}; 'abilityName': 'MyAbility'
};
this.context.startAbility(want, (err) => { this.context.startAbility(want, (err) => {
console.log('startAbility result:' + JSON.stringify(err)); console.log('startAbility result:' + JSON.stringify(err));
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册