未验证 提交 7367922d 编写于 作者: 葛亚芳 提交者: Gitee

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

Signed-off-by: Nge-yafang <geyafang@huawei.com>
上级 1421a474
......@@ -558,7 +558,7 @@ getAllKVStoreId(appId: string): Promise&lt;string[]&gt;
let kvManager;
try {
console.log('GetAllKVStoreId');
kvManager.getAllKVStoreId('apppId').then((data) => {
kvManager.getAllKVStoreId('appId').then((data) => {
console.log('getAllKVStoreId success');
console.log('size = ' + data.length);
}).catch((err) => {
......@@ -4320,7 +4320,7 @@ try {
console.log('getSecurityLevel success');
});
}catch(e) {
console.log('GetSecurityLeve e ' + e);
console.log('GetSecurityLevel e ' + e);
}
```
......@@ -4350,7 +4350,7 @@ try {
console.log('getSecurityLevel fail ' + JSON.stringify(err));
});
}catch(e) {
console.log('GetSecurityLeve e ' + e);
console.log('GetSecurityLevel e ' + e);
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册