From 540534f5f622e96e2be9c68cde1275270d9dcaf7 Mon Sep 17 00:00:00 2001 From: junyi233 Date: Tue, 28 Jun 2022 14:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0md=E5=8F=82=E6=95=B0=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: junyi233 --- .../reference/apis/js-apis-Bundle.md | 2 +- .../reference/apis/js-apis-zlib.md | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md index 3823eda735..ff4d8dfcd2 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md @@ -19,7 +19,7 @@ SystemCapability.BundleManager.BundleFramework | 权限 | 权限等级 | 描述 | | ------------------------------------------ | ------------ | ------------------ | -| ohos.permission.GET_BUNDLE_INFO | normal | 仅限查询本应用信息 | +| ohos.permission.GET_BUNDLE_INFO | normal | 查询指定应用信息 | | ohos.permission.GET_BUNDLE_INFO_PRIVILEGED | system_basic | 可查询所有应用信息 | | ohos.permission.INSTALL_BUNDLE | system_core | 可安装、卸载应用 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-zlib.md b/zh-cn/application-dev/reference/apis/js-apis-zlib.md index 8d7de4e167..322e8da8e5 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-zlib.md +++ b/zh-cn/application-dev/reference/apis/js-apis-zlib.md @@ -21,11 +21,11 @@ zipFile(inFile:string, outFile:string, options: Options): Promise<void> **参数:** -| 参数名 | 类型 | 必填 | 描述 | -| ------- | ------------------- | ---- | ------------------------------------------- | -| inFile | string | 是 | 指定压缩的文件夹路径或者文件路径 | -| outFile | string | 是 | 指定的压缩结果的文件路径(文件的扩展名zip) | -| options | [Options](#options) | 否 | 压缩的可选参数 | +| 参数名 | 类型 | 必填 | 描述 | +| ------- | ------------------- | ---- | ------------------------------------------------------------ | +| inFile | string | 是 | 指定压缩的文件夹路径或者文件路径,对应的路径参考[FA模型](js-apis-Context.md),[stage模型](js-apis-application-context.md) | +| outFile | string | 是 | 指定的压缩结果的文件路径(文件的扩展名zip) | +| options | [Options](#options) | 否 | 压缩的可选参数 | **返回值:** @@ -85,11 +85,11 @@ unzipFile(inFile:string, outFile:string, options: Options): Promise<void> **参数:** -| 参数名 | 类型 | 必填 | 描述 | -| ------- | ------------------- | ---- | ----------------------------------- | -| inFile | string | 是 | 指定解压的文件路径(文件扩展名zip) | -| outFile | string | 是 | 指定的解压文件路径 | -| options | [Options](#options) | 否 | 解压的可选参数 | +| 参数名 | 类型 | 必填 | 描述 | +| ------- | ------------------- | ---- | ------------------------------------------------------------ | +| inFile | string | 是 | 指定压缩的文件夹路径或者文件路径,对应的路径参考[FA模型](js-apis-Context.md),[stage模型](js-apis-application-context.md) | +| outFile | string | 是 | 指定的解压文件路径 | +| options | [Options](#options) | 否 | 解压的可选参数 | **返回值:** -- GitLab