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

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

Merge pull request !8908 from 葛亚芳/N/A
......@@ -382,7 +382,7 @@ let promise = preferences.put('startup', 'auto');
promise.then(() => {
console.info("Succeeded in putting value of 'startup'.");
}).catch((err) => {
console.info("Failed to put value of 'startup'. Cause: " + err));
console.info("Failed to put value of 'startup'. Cause: " + err);
})
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册