From 885f5f1ef71869943cc6ccbced5549ea82745736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Mon, 12 Jun 2023 07:26:42 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 葛亚芳 --- .../reference/apis/js-apis-distributedKVStore.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md b/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md index 23afabc1b9..be537e4fa9 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md +++ b/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md @@ -1288,7 +1288,7 @@ try { console.info(`query is ${query.getSqlLike()}`); query = null; } catch (e) { - console.error(`duplicated calls should be ok.ode is ${e.code},message is ${e.message}`); + console.error(`duplicated calls should be ok.code is ${e.code},message is ${e.message}`); } ``` @@ -4262,7 +4262,7 @@ try { console.error(`Failed to commit.code is ${err.code},message is ${err.message}`); }); } catch (e) { - console.error(`An unexpected error occurred.ode is ${e.code},message is ${e.message}`); + console.error(`An unexpected error occurred.code is ${e.code},message is ${e.message}`); } ``` @@ -6637,7 +6637,6 @@ try { return; } console.info('Succeeded in getting resultSize'); - ; }); }); } catch (e) { @@ -6704,7 +6703,6 @@ try { query.prefixKey("batch_test"); kvStore.getResultSize('localDeviceId', query).then((resultSize) => { console.info('Succeeded in getting resultSize'); - ; }).catch((err) => { console.error(`Failed to get resultSize.code is ${err.code},message is ${err.message}`); }); -- GitLab