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 00e4a69a66b065364ad72fe593791e6e5bbdfc1d..83af08a877bc9aa713dc68d3fd37c6a035ae2e46 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md
@@ -146,7 +146,7 @@ on(type: 'keyboardShow'|'keyboardHide', callback: () => void): void;
| 参数名 | 类型 | 必填 | 说明 |
| -------- | ------ | ---- | ------------------------------------------------------------ |
| type | string | 是 | 设置监听类型。
- type为'keyboardShow',表示订阅输入法显示。
- type为'keyboardHide',表示订阅输入法隐藏。 |
- | callback | void | 否 | 无回调函数。 |
+ | callback | void | 否 | 回调函数。 |
- 示例:
@@ -169,7 +169,7 @@ off(type: 'keyboardShow'|'keyboardHide', callback?: () => void): void;
| 参数名 | 类型 | 必填 | 说明 |
| -------- | ------ | ---- | ------------------------------------------------------------ |
| type | string | 是 | 设置监听类型。
- type为'keyboardShow',表示订阅输入法显示。
- type为'keyboardHide',表示订阅输入法隐藏。 |
- | callback | void | 否 | 无回调函数。 |
+ | callback | void | 否 | 回调函数。 |
- 示例:
@@ -397,6 +397,12 @@ hideKeyboard(): Promise<void>
**系统能力**: SystemCapability.MiscServices.InputMethod
+- 返回值
+
+ | 类型 | 说明 |
+ | ---------------------- | ------------ |
+ | AsyncCallback<void> | 不需要的参数 |
+
- 示例
@@ -701,11 +707,11 @@ getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void
| ------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| callback | AsyncCallback<[EditorAttribute](#EditorAttribute)> | 是 | 编辑框属性值。 |
- - 示例
- ```
+- 示例
+ ```
TextInputClient.getEditorAttribute((EditorAttribute)=>{
});
- ```
+ ```
### getEditorAttribute