提交 b31de8ca 编写于 作者: M ma-shaoyin

Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>

 Changes to be committed:
上级 5f7a33cb
......@@ -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.
先完成此消息的编辑!
想要评论请 注册