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 1be6efe3627e889d22dc4455b8368e9c150d1a10..12ebef741d683e4d2a34c5abe815f6bead169326 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) {