提交 5e0b3aaf 编写于 作者: L li_juntao

修改preference示例代码

Signed-off-by: Nli_juntao <lijuntao9@huawei.com>
上级 715ed6d2
......@@ -100,7 +100,7 @@
let promise = data_preferences.getPreferences(context, 'mystore');
promise.then((pref) => {
prefrences = pref;
preferences = pref;
}).catch((err) => {
console.info("Failed to get preferences.");
})
......@@ -122,7 +122,7 @@
let promise = data_preferences.getPreferences(context, 'mystore');
promise.then((pref) => {
prefrences = pref;
preferences = pref;
}).catch((err) => {
console.info("Failed to get preferences.");
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册