diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md index 3fba1fcf57e299661476355cbd75103c264dac58..aadc7e551179e670b69134c50f4fdf77a7420b61 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md @@ -94,7 +94,7 @@ switchInputMethod(target: InputmethodProperty, callback: AsyncCallback<boolea prompt.showToast({message:"切换输入法成功" + this.imeList[this.flag].packageName, duration: 200}); }); ``` - +## inputMethod.switchInputMethod9+ switchInputMethod(target: InputmethodProperty): Promise<boolean>