提交 14f71d6e 编写于 作者: W wusongqing

updated docs

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 5f46a7ce
......@@ -67,7 +67,7 @@ Obtains the default display object.
```
var displayClass = null;
display.getDefaultDisplay((err, data) => {
if (err) {
if (err.code) {
console.error('Failed to obtain the default display object. Code: ' + JSON.stringify(err));
return;
}
......@@ -119,7 +119,7 @@ Obtains all the display objects.
```
display.getAllDisplay((err, data) => {
if (err) {
if (err.code) {
console.error('Failed to obtain all the display objects. Code: ' + JSON.stringify(err));
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册