未验证 提交 0aaec9df 编写于 作者: O openharmony_ci 提交者: Gitee

!15784 [beta5]修复BundleInstaller示例代码

Merge pull request !15784 from xsz233/cherry-pick-1678360908
......@@ -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.
先完成此消息的编辑!
想要评论请 注册