未验证 提交 8a894bfa 编写于 作者: O openharmony_ci 提交者: Gitee

!20477 【4.0Beta1】【inputmethod】修改panel.moveTo示例代码

Merge pull request !20477 from mashaoyin/OpenHarmony-4.0-Beta1
......@@ -1145,7 +1145,7 @@ moveTo(x: number, y: number): Promise\<void>
```js
try {
let promise = windowClass.moveTo(300, 300);
let promise = panel.moveTo(300, 300);
promise.then(() => {
console.log('Succeeded in moving the panel.');
}).catch((err) =>{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册