chore: prettier source code

This commit is contained in:
chenjiahan
2020-04-02 15:36:02 +08:00
parent 340c56b3b5
commit 2fb5cca49a
93 changed files with 272 additions and 283 deletions

View File

@@ -27,7 +27,7 @@ export function get(object: any, path: string): any {
const keys = path.split('.');
let result = object;
keys.forEach(key => {
keys.forEach((key) => {
result = isDef(result[key]) ? result[key] : '';
});