未验证 提交 10bac33a 编写于 作者: O openharmony_ci 提交者: Gitee

!24105 【轻量级 PR】:update zh-cn/application-dev/device/pointerstyle-guidelines.md.

Merge pull request !24105 from PingPing2023/N/A
...@@ -87,7 +87,7 @@ window.getLastWindow(this.context, (error, windowClass) => { ...@@ -87,7 +87,7 @@ window.getLastWindow(this.context, (error, windowClass) => {
console.error('Failed to obtain the top window. Cause: ' + JSON.stringify(error)); console.error('Failed to obtain the top window. Cause: ' + JSON.stringify(error));
return; return;
} }
var windowId = windowClass.getWindowProperties().id; let windowId = windowClass.getWindowProperties().id;
if (windowId < 0) { if (windowId < 0) {
console.log(`Invalid windowId`); console.log(`Invalid windowId`);
return; return;
...@@ -107,7 +107,7 @@ window.getLastWindow(this.context, (error, windowClass) => { ...@@ -107,7 +107,7 @@ window.getLastWindow(this.context, (error, windowClass) => {
console.error('Failed to obtain the top window. Cause: ' + JSON.stringify(error)); console.error('Failed to obtain the top window. Cause: ' + JSON.stringify(error));
return; return;
} }
var windowId = windowClass.getWindowProperties().id; let windowId = windowClass.getWindowProperties().id;
if (windowId < 0) { if (windowId < 0) {
console.log(`Invalid windowId`); console.log(`Invalid windowId`);
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册