From b1151487801db8835e13bfd52b2c1ed5fd2840d0 Mon Sep 17 00:00:00 2001 From: ma-shaoyin Date: Wed, 5 Jul 2023 10:03:22 +0800 Subject: [PATCH] Signed-off-by: ma-shaoyin Changes to be committed: --- .../application-dev/reference/apis/js-apis-inputmethodengine.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md b/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md index 594c431817..ac2557b7bd 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md @@ -1196,7 +1196,7 @@ moveTo(x: number, y: number): Promise\ ```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) =>{ -- GitLab