未验证 提交 5204809b 编写于 作者: A Annie_wang 提交者: Gitee

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

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 933862ec
...@@ -187,7 +187,7 @@ removePreferencesFromCache(context: Context, name: string): Promise&lt;void&gt; ...@@ -187,7 +187,7 @@ removePreferencesFromCache(context: Context, name: string): Promise&lt;void&gt;
Removes the singleton **Preferences** instance of a file from the cache. The removed instance cannot be used for data operations. Otherwise, data inconsistency will occur. Removes the singleton **Preferences** instance of a file from the cache. The removed instance cannot be used for data operations. Otherwise, data inconsistency will occur.
This method uses an asynchronous callback to return the result. This method uses a promise to return the result.
**System capability**: SystemCapability.DistributedDataManager.Preferences.Core **System capability**: SystemCapability.DistributedDataManager.Preferences.Core
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册