diff --git a/zh-cn/application-dev/notification/notification-enable.md b/zh-cn/application-dev/notification/notification-enable.md index d9b6a9b338fbac439b61c18419cde45e826f5bff..0fa28f98eb5e4c281e39acaba0136b3eaf84d26d 100644 --- a/zh-cn/application-dev/notification/notification-enable.md +++ b/zh-cn/application-dev/notification/notification-enable.md @@ -4,7 +4,6 @@ 应用需要开启通知开关才能发送通知。开发者可以在通知发布前调用[requestEnableNotification()](../reference/apis/js-apis-notification.md#notificationrequestenablenotification8)方法,弹窗让用户选择是否开启使能开关,仅弹窗一次,后续调用该接口不再弹窗。 **图1** 使能通知开关示意图 - ![zh-cn_image_0000001416585590](figures/zh-cn_image_0000001416585590.png) @@ -47,3 +46,4 @@ console.error(`[ANS] requestEnableNotification failed, errCode[${err}]`); }); ``` +