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

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

Merge pull request !8906 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.
先完成此消息的编辑!
想要评论请 注册