更新:登录功能
This commit is contained in:
27
uniCloud-aliyun/database/hello.schema.json
Normal file
27
uniCloud-aliyun/database/hello.schema.json
Normal file
@@ -0,0 +1,27 @@
|
||||
// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
|
||||
{
|
||||
"bsonType": "object",
|
||||
"required": ["name"],
|
||||
"permission": {
|
||||
"read": true,
|
||||
"create": true,
|
||||
"update": true,
|
||||
"delete": true
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID"
|
||||
},
|
||||
"name": {
|
||||
"bsonType": "string",
|
||||
"label": "%name%",
|
||||
"minLength": 1,
|
||||
"maxLength": 8,
|
||||
"errorMessage": {
|
||||
"format": "{label}%name.format%",
|
||||
"minLength": "{label}%name.minLength%",
|
||||
"maxLength": "{label}%name.maxLength%"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user