未验证 提交 c1afc41a 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-screen.md.

Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 82e3b38a
......@@ -112,7 +112,7 @@ off(eventType: 'connect' | 'disconnect' | 'change', callback?: Callback&lt;numbe
```js
var callback = (data) => {
console.info('Unegister the callback for screen changes. Data: ' + JSON.stringify(data))
console.info('Unregister the callback for screen changes. Data: ' + JSON.stringify(data))
};
screen.off("connect", callback);
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册