diff --git a/zh-cn/application-dev/reference/apis/js-apis-notification.md b/zh-cn/application-dev/reference/apis/js-apis-notification.md index 3c2e2b3a2fc25192293f5197030cdb3bcb2c7450..61aa7aee0efc83ffcf671422b1c7557eeb453728 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-notification.md +++ b/zh-cn/application-dev/reference/apis/js-apis-notification.md @@ -2646,7 +2646,7 @@ Notification.cancelAsBundle(0, representativeBundle, userId).then(() => { }); ``` -### Notification.enableNotificationSlot 9+ +## Notification.enableNotificationSlot 9+ enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean, callback: AsyncCallback): void @@ -2678,7 +2678,7 @@ Notification.enableNotificationSlot( enableSlotCallback); ``` -### Notification.enableNotificationSlot 9+ +## Notification.enableNotificationSlot 9+ enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean): Promise @@ -2706,7 +2706,7 @@ Notification.enableNotificationSlot( }); ``` -### Notification.isNotificationSlotEnabled 9+ +## Notification.isNotificationSlotEnabled 9+ isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncCallback): void @@ -2736,7 +2736,7 @@ Notification.isNotificationSlotEnabled( getEnableSlotCallback); ``` -### Notification.isNotificationSlotEnabled 9+ +## Notification.isNotificationSlotEnabled 9+ isNotificationSlotEnabled(bundle: BundleOption, type: SlotType): Promise