From 00d841347ac36a369caaf89df05ea59a14445156 Mon Sep 17 00:00:00 2001 From: Hollokin Date: Tue, 25 Oct 2022 22:00:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=B3=95=E6=A1=86=E6=9E=B6AP?= =?UTF-8?q?I=E8=B5=84=E6=96=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hollokin --- zh-cn/application-dev/reference/apis/js-apis-inputmethod.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 90b9f39445..6b28096380 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+ -- GitLab