From 7a0cd24e6946b2fb7c3a3a53d4d0e1ef86b7b94c Mon Sep 17 00:00:00 2001 From: LiAn Date: Tue, 22 Mar 2022 03:11:35 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-eventhub.md. Signed-off-by: LiAn --- zh-cn/application-dev/reference/apis/js-apis-eventhub.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-eventhub.md b/zh-cn/application-dev/reference/apis/js-apis-eventhub.md index cdce9e3617..6dc68700bd 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-eventhub.md +++ b/zh-cn/application-dev/reference/apis/js-apis-eventhub.md @@ -133,7 +133,7 @@ emit(event: string, ...args: Object[]): void; // func1 is called,1,2 this.context.eventHub.emit("123", 1, 2); } - func1(a: string, b: string) { + func1(a, b) { console.log("func1 is called," + a + "," + b); } } -- GitLab