未验证 提交 345729f1 编写于 作者: 葛亚芳 提交者: Gitee

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

Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 4f0d54e1
...@@ -329,7 +329,7 @@ data_preferences.removePreferencesFromCache(context, 'mystore', function (err) { ...@@ -329,7 +329,7 @@ data_preferences.removePreferencesFromCache(context, 'mystore', function (err) {
removePreferencesFromCache(context: Context, name: string): Promise&lt;void&gt; removePreferencesFromCache(context: Context, name: string): Promise&lt;void&gt;
从内存中移除指定的Preferences实例,使用callback异步回调。 从内存中移除指定的Preferences实例,使用Promise异步回调。
调用该接口后,应用不允许再使用该Preferences实例进行数据操作,否则会出现数据一致性问题。 调用该接口后,应用不允许再使用该Preferences实例进行数据操作,否则会出现数据一致性问题。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册