From 4f4f2ad2b59b029df8e2a7e8f2abb162cdaffcbb Mon Sep 17 00:00:00 2001 From: gloria <80926032@qq.com> Date: Thu, 15 Sep 2022 07:03:38 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90OpenHarmony=E5=BC=80=E6=BA=90=E8=B4=A1?= =?UTF-8?q?=E7=8C=AE=E8=80=85=E8=AE=A1=E5=88=922022=E3=80=91js-apis-Bundle?= =?UTF-8?q?.md=20=E6=9B=B4=E6=AD=A3=E6=8F=8F=E8=BF=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gloria <80926032@qq.com> --- zh-cn/application-dev/reference/apis/js-apis-Bundle.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 112186af09..cd3081f731 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md @@ -158,7 +158,7 @@ SystemCapability.BundleManager.BundleFramework | 名称 | 类型 | 必填 | 描述 | | ----------- | ------ | ---- | ------------------------------------------------------------ | | bundleName | string | 是 | 要查询的包名。 | -| bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。默认值:0,取值范围:参考[BundleFlag说明](#bundleflag)中包信息相关flag。 | +| bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。默认值:0,取值范围:参考[BundleFlag说明](#bundleflag)中应用信息相关flag。 | | userId | number | 是 | 用户ID。默认值:调用方所在用户,取值范围:大于等于0。 | **返回值:** @@ -196,7 +196,7 @@ SystemCapability.BundleManager.BundleFramework | 名称 | 类型 | 必填 | 描述 | | ----------- | ------ | ---- | ------------------------------------------------------------ | | bundleName | string | 是 | 要查询的包名。 | -| bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。默认值:0,取值范围:参考[BundleFlag说明](#bundleflag)中包信息相关flag。 | +| bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。默认值:0,取值范围:参考[BundleFlag说明](#bundleflag)中应用信息相关flag。 | **返回值:** @@ -448,7 +448,7 @@ bundle.getBundleInfo(bundleName, bundleFlags, options, (err, data) => { getBundleInfoSync(bundleName: string, bundleFlags: number, options: BundleOptions): BundleInfo; -以同步方法根据给定的包名获取ApplicationInfo,返回BundleInfo对象。 +以同步方法根据给定的包名获取BundleInfo,返回BundleInfo对象。 **需要权限:** @@ -488,7 +488,7 @@ console.info('Operation successful. Name:' + bundleInfo.name); getBundleInfoSync(bundleName: string, bundleFlags: number): BundleInfo; -以同步方法根据给定的包名获取ApplicationInfo,返回BundleInfo对象。 +以同步方法根据给定的包名获取BundleInfo,返回BundleInfo对象。 **需要权限:** -- GitLab