From 19fe22bcfdf80d3d48d1bdb3fe891e9e1f8cbd7e Mon Sep 17 00:00:00 2001 From: wusongqing Date: Fri, 10 Jun 2022 11:54:40 +0800 Subject: [PATCH] updated link Signed-off-by: wusongqing --- .../ability/context-userguide.md | 2 +- .../apis/js-apis-formextensioncontext.md | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/en/application-dev/ability/context-userguide.md b/en/application-dev/ability/context-userguide.md index 9c19655b7e..b058e9942b 100644 --- a/en/application-dev/ability/context-userguide.md +++ b/en/application-dev/ability/context-userguide.md @@ -195,7 +195,7 @@ export default class MainAbility extends Ability { ### application/FormExtensionContext -For details, see [FormExtensionContext](/en/application-dev/reference/apis/js-apis-formextensioncontext.md). +For details, see [FormExtensionContext](../reference/apis/js-apis-formextensioncontext.md). ## Common Incorrect Usage diff --git a/en/application-dev/reference/apis/js-apis-formextensioncontext.md b/en/application-dev/reference/apis/js-apis-formextensioncontext.md index a3aa439469..ac5149428e 100644 --- a/en/application-dev/reference/apis/js-apis-formextensioncontext.md +++ b/en/application-dev/reference/apis/js-apis-formextensioncontext.md @@ -21,11 +21,11 @@ Updates a widget. This method uses a callback to return the result. **Parameters** - | Name | Type | Mandatory| Description | - | --------------- | ------------------------------------------------------------ | ---- | -------------------------------------- | - | formId | string | Yes | ID of the widget that requests to be updated. | - | formBindingData | [formBindingData.FormBindingData](js-apis-formbindingdata.md#formbindingdata) | Yes | New data of the widget. | - | callback | AsyncCallback\ | Yes | Callback used to return the result indicating whether the method is successfully called.| +| Name | Type | Mandatory| Description | +| --------------- | ------------------------------------------------------------ | ---- | -------------------------------------- | +| formId | string | Yes | ID of the widget that requests to be updated. | +| formBindingData | [formBindingData.FormBindingData](js-apis-formbindingdata.md#formbindingdata) | Yes | New data of the widget. | +| callback | AsyncCallback\ | Yes | Callback used to return the result indicating whether the method is successfully called.| **Example** @@ -54,16 +54,16 @@ Updates a widget. This method uses a promise to return the result. **Parameters** - | Name | Type | Mandatory| Description | - | --------------- | ------------------------------------------------------------ | ---- | ------------------ | - | formId | string | Yes | ID of the widget that requests to be updated.| - | formBindingData | [formBindingData.FormBindingData](js-apis-formbindingdata.md#formbindingdata) | Yes | New data of the widget. | +| Name | Type | Mandatory| Description | +| --------------- | ------------------------------------------------------------ | ---- | ------------------ | +| formId | string | Yes | ID of the widget that requests to be updated.| +| formBindingData | [formBindingData.FormBindingData](js-apis-formbindingdata.md#formbindingdata) | Yes | New data of the widget. | **Return value** - | Type | Description | - | -------------- | --------------------------------- | - | Promise\ | Promise returned with the result indicating whether the method is successfully called.| +| Type | Description | +| -------------- | --------------------------------- | +| Promise\ | Promise returned with the result indicating whether the method is successfully called.| **Example** -- GitLab