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

!8326 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update...

!8326 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update zh-cn/application-dev/database/database-mdds-guidelines.md.示例代码格式不规范
Merge pull request !8326 from 李子慧/N/A
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
kvManager = manager; kvManager = manager;
}); });
} catch (e) { } catch (e) {
console.log("An unexpected error occurred. Error:" + e); console.log("An unexpected error occurred. Error: " + e);
} }
``` ```
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
kvStore = store; kvStore = store;
}); });
} catch (e) { } catch (e) {
console.log("An unexpected error occurred. Error:" + e); console.log("An unexpected error occurred. Error: " + e);
} }
``` ```
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
console.log("put success"); console.log("put success");
}); });
}catch (e) { }catch (e) {
console.log("An unexpected error occurred. Error:" + e); console.log("An unexpected error occurred. Error: " + e);
} }
``` ```
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
}); });
}); });
}catch (e) { }catch (e) {
console.log("An unexpected error occurred. Error:" + e); console.log("An unexpected error occurred. Error: " + e);
} }
``` ```
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
// 1000表示最大延迟时间为1000ms // 1000表示最大延迟时间为1000ms
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.
先完成此消息的编辑!
想要评论请 注册