From 4329c1e45ad2d9d531dd0813e83fab1c2af53442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Thu, 15 Sep 2022 04:23:16 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-data-preferences.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 葛亚芳 --- .../reference/apis/js-apis-data-preferences.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md b/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md index 1be6efe362..12ebef741d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md +++ b/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md @@ -825,7 +825,7 @@ on(type: 'change', callback: Callback<{ key : string }>): void ```js data_preferences.getPreferences(this.context, 'mystore', function (err, preferences) { if (err) { - console.info("Failed to Gget preferences."); + console.info("Failed to get preferences."); return; } var observer = function (key) { @@ -871,7 +871,7 @@ off(type: 'change', callback?: Callback<{ key : string }>): void ```js data_preferences.getPreferences(this.context, 'mystore', function (err, preferences) { if (err) { - console.info("Failed to Gget preferences."); + console.info("Failed to get preferences."); return; } var observer = function (key) { -- GitLab