From 596322b3f9e6792cf4c6098beee78da0b087e914 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Tue, 19 Apr 2022 06:48:20 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9sample=E6=A0=BC=E5=BC=8F=20Si?= =?UTF-8?q?gned-off-by:=20zengyawen=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/application-dev/notification/common-event.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/zh-cn/application-dev/notification/common-event.md b/zh-cn/application-dev/notification/common-event.md index 222dcb4565..352f1fcf2c 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) -- GitLab