chore: format code, add editorconfig

This commit is contained in:
王亚琪 2021-12-24 15:20:40 +08:00
parent 06db30bf87
commit 5ca14e7f36
2 changed files with 21 additions and 9 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

View File

@ -125,11 +125,11 @@
"description": "头像地址", "description": "头像地址",
"trim": "both" "trim": "both"
}, },
"avatar_file": { "avatar_file": {
"bsonType": "file", "bsonType": "file",
"title": "头像文件", "title": "头像文件",
"description": "用file类型方便使用uni-file-picker组件" "description": "用file类型方便使用uni-file-picker组件"
}, },
"department_id": { "department_id": {
"bsonType": "array", "bsonType": "array",
"description": "部门ID", "description": "部门ID",
@ -253,9 +253,9 @@
} }
} }
}, },
"score":{ "score": {
"bsonType": "int", "bsonType": "int",
"description": "用户积分积分变更记录可参考uni-id-scores表定义" "description": "用户积分积分变更记录可参考uni-id-scores表定义"
}, },
"register_date": { "register_date": {
"bsonType": "timestamp", "bsonType": "timestamp",