diff --git a/zh-cn/application-dev/database/data-persistence-by-preferences.md b/zh-cn/application-dev/database/data-persistence-by-preferences.md index b9ad91797840a48a75c8a08a0b0ed39c5100a335..1db3a864a3e2d2b1a64e30880b272c3da4a2a2ec 100644 --- a/zh-cn/application-dev/database/data-persistence-by-preferences.md +++ b/zh-cn/application-dev/database/data-persistence-by-preferences.md @@ -68,7 +68,7 @@ return; } console.info('Succeeded in getting preferences.'); - // 进行相关数据操作 + // 请确保获取到Preferences实例后,再进行相关数据操作 }) } catch (err) { console.error(`Failed to get preferences. Code:${err.code},message:${err.message}`); @@ -93,7 +93,7 @@ return; } console.info('Succeeded in getting preferences.'); - // 进行相关数据操作 + // 请确保获取到Preferences实例后,再进行相关数据操作 }) } catch (err) { console.error(`Failed to get preferences. Code is ${err.code},message:${err.message}`);