From a0c17a3dbe366c1bd8295775716914fdcc0e3adc Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Thu, 16 Mar 2023 17:21:09 +0800 Subject: [PATCH] Update docs Signed-off-by: Annie_wang --- en/application-dev/reference/apis/Readme-EN.md | 2 +- .../reference/apis/js-apis-file-picker.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/en/application-dev/reference/apis/Readme-EN.md b/en/application-dev/reference/apis/Readme-EN.md index 1c150a3d12..62e62ed941 100644 --- a/en/application-dev/reference/apis/Readme-EN.md +++ b/en/application-dev/reference/apis/Readme-EN.md @@ -225,7 +225,7 @@ - [@ohos.file.fileExtensionInfo (User File Extension Information)](js-apis-fileExtensionInfo.md) - [@ohos.file.fs (File Management)](js-apis-file-fs.md) - [@ohos.file.hash (File Hash Processing)](js-apis-file-hash.md) - - [@ohos.file.picker (File Picker)](js-apis-file-picker.md) + - [@ohos.file.picker (Picker)](js-apis-file-picker.md) - [@ohos.file.securityLabel (Data Label)](js-apis-file-securityLabel.md) - [@ohos.file.statvfs (File System Space Statistics)](js-apis-file-statvfs.md) - [@ohos.file.storageStatistics (Application Storage Statistics)](js-apis-file-storage-statistics.md) diff --git a/en/application-dev/reference/apis/js-apis-file-picker.md b/en/application-dev/reference/apis/js-apis-file-picker.md index ae9793a51e..44e38fa5f4 100644 --- a/en/application-dev/reference/apis/js-apis-file-picker.md +++ b/en/application-dev/reference/apis/js-apis-file-picker.md @@ -1,4 +1,4 @@ -# @ohos.file.picker (File Picker) +# @ohos.file.picker (Picker) > **NOTE** > @@ -41,7 +41,7 @@ Selects one or more images or videos in a **photoPicker** page. This API uses a | Type | Description | | ----------------------------- | :---- | -| [PhotoSelectResult](#photoselectresult) | Promise used to return information about the images or videos selected.| +| Promise<[PhotoSelectResult](#photoselectresult)> | Promise used to return information about the images or videos selected.| **Example** @@ -151,7 +151,7 @@ Saves one or more images or videos in a **photoPicker** page. This API uses a pr | Type | Description | | ----------------------------- | :---- | -| <Array<string>> | Promise used to return the URIs of the files saved.| +| Promise<Array<string>> | Promise used to return the URIs of the files saved.| **Example** @@ -271,7 +271,7 @@ Selects one or more documents in a **documentPicker** page. This API uses a prom | Type | Description | | ----------------------------- | :---- | -| <Array<string>> | Promise used to return the URIs of the documents selected.| +| Promise<Array<string>> | Promise used to return the URIs of the documents selected.| **Example** @@ -378,7 +378,7 @@ Saves one or more documents in a **documentPicker** page. This API uses a promis | Type | Description | | ----------------------------- | :---- | -| <Array<string>> | Promise used to return the URIs of the documents saved.| +| Promise<Array<string>> | Promise used to return the URIs of the documents saved.| **Example** @@ -498,7 +498,7 @@ Selects one or more audio files in an **audioPicker** page (currently, a **docum | Type | Description | | ----------------------------- | :---- | -| <Array<string>> | Promise used to return the URIs of the audio files selected.| +| Promise<Array<string>> | Promise used to return the URIs of the audio files selected.| **Example** @@ -604,7 +604,7 @@ Saves one or more audio files in an **audioPicker** page (currently, a **documen | Type | Description | | ----------------------------- | ---- | -| <Array<string>> | Promise used to return the URIs of the audio files saved.| +| Promise<Array<string>> | Promise used to return the URIs of the audio files saved.| **Example** @@ -726,7 +726,7 @@ Defines information about the images or videos selected. | Name | Type | Readable| Writable| Description | | ----------------------- | ------------------- | ---- | ---- | ------------------------------ | | photoUris | Array<string> | Yes | Yes | URIs of the media files selected.| -| isOriginalPhoto | boolean | Yes | Yes | Whether the selected media file is the original image.| +| isOriginalPhoto | boolean | Yes | Yes | Whether the selected media file is the original image.| ## PhotoSaveOptions -- GitLab