未验证 提交 78feb657 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/database/data-persistence-by-preferences.md.

Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 9ae6307f
......@@ -246,3 +246,11 @@
console.error(`Failed to delete preferences. Code:${err.code}, message:${err.message}`);
}
```
## 相关实例
针对首选项开发,有以下相关实例可供参考:
- [`Preferences`:首选项(ArkTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-3.2-Release/data/Preferences)
- [首选项(ArkTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/Data/Preferences)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册