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 594c4318179e75e6ba2b3dd9ab7ef65d5792b0f5..ac2557b7bd539963b08a61510a1c4df62d70bf1b 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) =>{