You need to sign in or sign up before continuing.
提交 9fc8a7be 编写于 作者: W wufengshan

Signed-off-by: wufengshan <wufengshan@huawei.com>

 Changes to be committed:
上级 689ef78a
...@@ -169,9 +169,9 @@ OpenHarmony系统中的分布式数据服务模块为开发者提供下面几种 ...@@ -169,9 +169,9 @@ OpenHarmony系统中的分布式数据服务模块为开发者提供下面几种
} }
try{ try{
kvStore.sync(deviceIds, distributedData.SyncMode.PUSH_ONLY, 1000); kvStore.sync(deviceIds, distributedData.SyncMode.PUSH_ONLY, 1000);
}catch(e){ }catch (e) {
console.log("An unexpected error occurred. Error:" + e); console.log("An unexpected error occurred. Error:" + e);
} }
} }
}); });
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册