From 6b6d9a98c1fdb933402e985bd63525d97e659a26 Mon Sep 17 00:00:00 2001 From: LiAn Date: Mon, 28 Feb 2022 12:39:30 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-commonEvent.md. Signed-off-by: LiAn --- zh-cn/application-dev/reference/apis/js-apis-commonEvent.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md b/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md index 8aa91800eb..a1d5811928 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md +++ b/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md @@ -169,9 +169,9 @@ publish(event: string, options: CommonEventPublishData, callback: AsyncCallback\ ```js //公共事件相关信息 var options = { - code: 0; //公共事件的初始代码 - data: "initial data";//公共事件的初始数据 - isOrdered: true; //有序公共事件 + code: 0, //公共事件的初始代码 + data: "initial data",//公共事件的初始数据 + isOrdered: true //有序公共事件 } //发布公共事件回调 function PublishCallBack(err) { -- GitLab