diff --git a/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md b/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md index b0457b1a123c6e3b6c14d31a11d44776b164198c..facf185a91ce51e35a275e8c3f6036d83a0a3726 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md @@ -579,7 +579,7 @@ commonEventManager.removeStickyCommonEvent("sticky_event").then(() => { setStaticSubscriberState(enable: boolean, callback: AsyncCallback): void; -以回调形式为当前应用设置静态订阅事件使能或去使能状态。 +方法介绍:为当前应用设置静态订阅事件使能或去使能状态。使用callback异步回调。 **系统能力:** SystemCapability.Notification.CommonEvent @@ -621,7 +621,7 @@ CommonEventManager.setStaticSubscriberState(true, (err) => { setStaticSubscriberState(enable: boolean): Promise; -以Promise形式为当前应用设置静态订阅事件使能或去使能状态。 +方法介绍:为当前应用设置静态订阅事件使能或去使能状态。使用Promise异步回调。 **系统能力:** SystemCapability.Notification.CommonEvent