From bf011cb3b1a7428629595f5196b159adca03fec2 Mon Sep 17 00:00:00 2001 From: xsz233 <xushizhe@huawei.com> Date: Thu, 9 Mar 2023 02:36:16 +0000 Subject: [PATCH] fix BundleInstaller doc Signed-off-by: xsz233 <xushizhe@huawei.com> --- .../reference/apis/js-apis-bundle-BundleInstaller.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md index c0d953dfd1..15103ae6cd 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md @@ -188,8 +188,8 @@ bundle.getBundleInstaller().then(installer => { **示例:** ``` ts // Stage模型 -import Ability from '@ohos.application.Ability'; -class MainAbility extends Ability { +import UIAbility from '@ohos.app.ability.UIAbility'; +export default class EntryAbility extends UIAbility { onWindowStageCreate(windowStage) { let context = this.context; let pathDir = context.filesDir; -- GitLab