mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 14:31:15 +08:00
chore: format code, add editorconfig
This commit is contained in:
parent
06db30bf87
commit
5ca14e7f36
12
.editorconfig
Normal file
12
.editorconfig
Normal 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
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user