未验证 提交 c674b8db 编写于 作者: C chaoyangmen 提交者: Gitee

let disp; // disp用来保存默认Display声明未使用,可以删除

Signed-off-by: chaoyangmen<chaoyangmen202201@163.com>
Signed-off-by: Nchaoyangmen <chaoyangmen202201@163.com>
上级 5bfd4cf9
......@@ -15,7 +15,6 @@
```js
import display from '@ohos.display' // 导入模块
let disp; // disp用来保存默认Display
display.getDefaultDisplay().then((disp) => {
console.log('display.getDefaultDisplay success, display :' + JSON.stringify(disp));
}, (err) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册