update: uni-id-users role字段 增加 enum 属性,支持生成页面动态查询角色

This commit is contained in:
handongxun 2020-11-20 15:16:05 +08:00
parent df26eee207
commit 106509bdf3

View File

@ -108,6 +108,10 @@
"bsonType": "array",
"title": "角色",
"description": "用户角色",
"enum": {
"collection": "uni-id-roles",
"field": "role_id as value, role_name as text"
},
"foreignKey": "uni-id-roles.role_id",
"permission": {
"write": false