未验证 提交 1f4a399a 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md.

Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 a20319cd
...@@ -271,9 +271,9 @@ createKVManager(config: KVManagerConfig): KVManager ...@@ -271,9 +271,9 @@ createKVManager(config: KVManagerConfig): KVManager
Stage模型下的示例: Stage模型下的示例:
```js ```js
import AbilityStage from '@ohos.application.Ability' import UIAbility from '@ohos.app.ability.UIAbility'
let kvManager; let kvManager;
export default class MyAbilityStage extends AbilityStage { export default class EntryAbility extends UIAbility {
onCreate() { onCreate() {
console.log("MyAbilityStage onCreate") console.log("MyAbilityStage onCreate")
let context = this.context let context = this.context
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册