提交 60d603c4 编写于 作者: B Baisong Zhong 提交者: zhongbaisong

fixed b622b919 from https://gitee.com/bandari_hw/docs/pulls/22960

修复emitter模块 md文档和d.ts文件中 接口描述不一致的问题
Signed-off-by: NBaisong Zhong <zhongbaisong@huawei.com>
Change-Id: Ia66a072c7ee62fe50ec1b4c5477a645e67f607dd
上级 32fada0b
......@@ -99,7 +99,7 @@ emitter.off(1);
## emitter.off<sup>10+<sup>
off(eventId: numbercallback: Callback\<[EventData](#eventdata)\>): void
off(eventId: number, callback: Callback\<[EventData](#eventdata)\>): void
取消针对该事件ID的订阅,传入可选参数callback,并且该callback已经通过on或者once接口订阅,则取消该订阅;否则,不做任何处理。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册