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 90b9f394451c7972c3429534dc8ef93c691cd17a..6b2809638068eb6ed9969d82b936aac59cbd3688 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md @@ -43,8 +43,8 @@ import inputMethod from '@ohos.inputmethod'; | 名称 | 参数类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| packageName(deprecated) | string | 是 | 否 | 包名。 | -| methodId(deprecated) | string | 是 | 否 | Ability名。 | +| packageName(deprecated) | string | 是 | 否 | 包名。从API8开始支持,从API9开始废弃,建议使用name替代 | +| methodId(deprecated) | string | 是 | 否 | Ability名。从API8开始支持,从API9开始废弃,建议使用id替代 | | name9+ | string | 是 | 否 | 包名。 | | id9+ | string | 是 | 否 | Ability名。 | | label9+ | string | 是 | 否 | 输入法标签,非必填项。| @@ -509,7 +509,7 @@ let InputMethodSetting = inputMethod.getInputMethodSetting(); ## InputMethodController -下列API示例中都需使用[getController](##inputmethodgetcontroller9)回调获取到InputMethodController实例,再通过此实例调用对应方法。 +下列API示例中都需使用[getController](#inputmethodgetcontroller9)回调获取到InputMethodController实例,再通过此实例调用对应方法。 ### stopInputSession9+