未验证 提交 5f8eaa2b 编写于 作者: O openharmony_ci 提交者: Gitee

!20471 【inputmethod】修改panel.moveTo示例代码

Merge pull request !20471 from mashaoyin/master
......@@ -1196,7 +1196,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.
先完成此消息的编辑!
想要评论请 注册