提交 75f11952 编写于 作者: X xsz233

fixed bf011cb3 from https://gitee.com/xsz233/docs/pulls/15708

fix BundleInstaller doc
Signed-off-by: Nxsz233 <xushizhe@huawei.com>
上级 cdb4990c
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册