diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index 4ead6cc..4e2194b 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -130,10 +130,11 @@ "title": "头像文件", "description": "用file类型方便使用uni-file-picker组件" }, - "department_id": { - "bsonType": "array", + "d_id": { + "bsonType": "string", "description": "部门ID", "title": "部门", + "foreignKey": "opendb-department._id", "enumType": "tree", "enum": { "collection": "opendb-department", @@ -141,6 +142,11 @@ "field": "_id as value, name as text" } }, + "e_id": { + "bsonType": "string", + "description": "企业ID", + "title": "企业" + }, "role": { "bsonType": "array", "title": "角色", diff --git a/collection/uni-id-users/package.json b/collection/uni-id-users/package.json index 6eda3aa..21f0d64 100644 --- a/collection/uni-id-users/package.json +++ b/collection/uni-id-users/package.json @@ -1,6 +1,6 @@ { "name": "@opendb/uni-id-users", - "version": "1.0.0", + "version": "1.0.1", "description": "uni-id-users", "keywords": ["uni-id", "用户管理", "登录", "注册"], "opendb": {