diff --git a/zh-cn/application-dev/notification/common-event.md b/zh-cn/application-dev/notification/common-event.md index 222dcb4565f86eedb09431dd053e1cbafb2f6890..352f1fcf2cc0c23649b0a18c670fdf669f056c67 100644 --- a/zh-cn/application-dev/notification/common-event.md +++ b/zh-cn/application-dev/notification/common-event.md @@ -170,11 +170,9 @@ if (this.subscriber != null) { } ``` -## 开发实例 +## 相关实例 -针对公共事件开发,有以下示例工程可供参考: +针对公共事件开发,有以下相关实例可供参考: -- [CommonEvent](https://gitee.com/openharmony/app_samples/tree/master/ability/CommonEvent) - -本示例展示了在eTS中如何使用CommonEvent的接口完成创建订阅者、订阅公共事件、发布公共事件、取消订阅的功能。 +- [`CommonEvent`:订阅公共事件(eTS)(API7)](https://gitee.com/openharmony/app_samples/tree/master/ability/CommonEvent)