未验证 提交 b6662001 编写于 作者: O openharmony_ci 提交者: Gitee

!11495 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-data-preferences.md.

Merge pull request !11495 from 葛亚芳/N/A
......@@ -475,7 +475,7 @@ get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>):
```js
try {
data_preferences.get('startup', 'default', function (err, val) {
preferences.get('startup', 'default', function (err, val) {
if (err) {
console.info("Failed to get value of 'startup'. code =" + err.code + ", message =" + err.message);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册