提交 4672bf6d 编写于 作者: G Gloria

Update docs against 15708

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 5cc343cf
......@@ -189,8 +189,8 @@ For the FA model, the sandbox path of a bundle can be obtained using the APIs in
**Example**
``` ts
// Stage model
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.
先完成此消息的编辑!
想要评论请 注册