提交 9d55dacc 编写于 作者: Z zhaolinglan

modify code

Signed-off-by: Nzhaolinglan <zhaolinglan@huawei.com>
上级 7c2722d7
......@@ -1055,7 +1055,7 @@ moveCursor(direction: number): Promise&lt;void&gt;
```js
async function InputMethodEngine() {
await TextInputClient.moveCursor('test').then(async (err) => {
await TextInputClient.moveCursor(inputMethodEngine.CURSOR_xxx).then(async (err) => {
console.log('moveCursor success');
}).catch((err) => {
console.error("moveCursor success err: " + err.msg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册