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

update zh-cn/application-dev/reference/apis/js-apis-screen.md:自动化测试问题修改,需同步翻译

Signed-off-by: Nge-yafang <geyafang@huawei.com>
上级 3cd5d7c6
......@@ -55,7 +55,7 @@ getAllScreens(): Promise&lt;Array&lt;Screen&gt;&gt;
**示例:**
```js
var screenClass = null;
let promise = screen.getAllScreen();
let promise = screen.getAllScreens();
promise.then((data) => {
screenClass = data[0];
console.log('Succeeded in getting all screens . Data:'+ JSON.stringify(data));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册