update: uni-id-user,支持新组件uni-data-checklist

This commit is contained in:
handongxun 2020-11-07 18:19:40 +08:00
parent 74efae3208
commit cccafe8fa6

View File

@ -26,23 +26,35 @@
"title": "性别",
"description": "用户性别0 未知 1 男性 2 女性",
"defaultValue": 0,
"component": {
"name": "radio-group",
"childrenData": [{
"label": "未知",
"value": 0
}, {
"label": "男",
"value": 1
}, {
"label": "女",
"value": 2
}]
}
"enum": [{
"text": "未知",
"value": 0
}, {
"text": "男",
"value": 1
}, {
"text": "女",
"value": 2
}]
},
"status": {
"bsonType": "int",
"description": "用户状态0 正常 1 禁用 2 审核中 3 审核拒绝"
"description": "用户状态0 正常 1 禁用 2 审核中 3 审核拒绝",
"title": "用户状态",
"defaultValue": 0,
"enum": [{
"text": "正常",
"value": 0
}, {
"text": "禁用",
"value": 1
}, {
"text": "审核中",
"value": 2
}, {
"text": "审核拒绝",
"value": 3
}]
},
"mobile": {
"bsonType": "string",
@ -52,9 +64,16 @@
},
"mobile_confirmed": {
"bsonType": "int",
"minimum": 0,
"maximum": 1,
"description": "手机号验证状态0 未验证 1 已验证"
"description": "手机号验证状态0 未验证 1 已验证",
"title": "手机号验证状态",
"defaultValue": 0,
"enum": [{
"text": "未验证",
"value": 0
}, {
"text": "已验证",
"value": 1
}]
},
"email": {
"bsonType": "string",
@ -64,9 +83,16 @@
},
"email_confirmed": {
"bsonType": "int",
"minimum": 0,
"maximum": 1,
"description": "邮箱验证状态0 未验证 1 已验证"
"description": "邮箱验证状态0 未验证 1 已验证",
"title": "邮箱验证状态",
"defaultValue": 0,
"enum": [{
"text": "未验证",
"value": 0
}, {
"text": "已验证",
"value": 1
}]
},
"avatar": {
"bsonType": "string",
@ -76,7 +102,10 @@
"role": {
"bsonType": "array",
"title": "角色",
"description": "用户角色"
"description": "用户角色",
"permission": {
"write": false
}
},
"wx_unionid": {
"bsonType": "string",