未验证 提交 32087581 编写于 作者: 时睿 提交者: Gitee

修改老接口的示例代码符号问题

Signed-off-by: N时睿 <shirui721@huawei.com>
上级 43c374f4
...@@ -51,18 +51,17 @@ show(options?: ShowNotificationOptions): void ...@@ -51,18 +51,17 @@ show(options?: ShowNotificationOptions): void
**示例:** **示例:**
```javascript ```javascript
export default { export default {
show() { show() {
notification.show({ notification.show({
contentTitle: 'title info', contentTitle: 'title info',
contentText: 'text', contentText: 'text',
clickAction: { clickAction: {
bundleName: 'com.example.testapp', bundleName: 'com.example.testapp',
abilityName: 'notificationDemo', abilityName: 'notificationDemo',
uri: '/path/to/notification', uri: '/path/to/notification',
}, },
}); });
}, },
} }
;
``` ```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册