未验证 提交 7ffc908e 编写于 作者: O openharmony_ci 提交者: Gitee

!6749 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-screen.md:自动化测试问题修改,需同步翻译

Merge pull request !6749 from 葛亚芳/N/A
......@@ -55,7 +55,7 @@ getAllScreens(): Promise<Array<Screen>>
**示例:**
```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.
先完成此消息的编辑!
想要评论请 注册