diff --git a/zh-cn/application-dev/reference/apis/js-apis-accessibility-extension-context.md b/zh-cn/application-dev/reference/apis/js-apis-accessibility-extension-context.md index b01dfdc5f486c6accfe80de31d9fc691010010ad..8a27d422badf2f80b8a8015ccb072465796a58ab 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-accessibility-extension-context.md +++ b/zh-cn/application-dev/reference/apis/js-apis-accessibility-extension-context.md @@ -244,6 +244,7 @@ getFocusElement(isAccessibilityFocus: boolean, callback: AsyncCallback\ { if (err) { @@ -368,6 +369,7 @@ getWindowRootElement(windowId: number, callback: AsyncCallback\ { if (err) { @@ -698,7 +700,7 @@ let rootElement; try { rootElement.attributeValue(attributeName).then((data) => { console.log('get attribute value by name success'); - attribtueValue = data; + attributeValue = data; }).catch((err) => { console.log('failed to get attribute value, because ' + JSON.stringify(err)); });