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

!10381 修改js-apis-system-notification.md示例代码规范问题

Merge pull request !10381 from 时睿/master
......@@ -51,18 +51,17 @@ show(options?: ShowNotificationOptions): void
**示例:**
```javascript
export default {
show() {
notification.show({
contentTitle: 'title info',
contentText: 'text',
clickAction: {
bundleName: 'com.example.testapp',
abilityName: 'notificationDemo',
uri: '/path/to/notification',
},
});
},
export default {
show() {
notification.show({
contentTitle: 'title info',
contentText: 'text',
clickAction: {
bundleName: 'com.example.testapp',
abilityName: 'notificationDemo',
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.
先完成此消息的编辑!
想要评论请 注册