浏览代码

fix: depart hasChildren

ryanemax 8 月之前
父节点
当前提交
6b90461145
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      server/db/schemas/Department.js

+ 5 - 1
server/db/schemas/Department.js

@@ -22,10 +22,14 @@ export const Department = {
       "type": "String",
       "required": false
     },
-    "type": {//办学层次
+    "type": { // 单位类型
       "type": "String",
       "required": false
     },
+    "hasChildren": {//办学层次
+      "type": "Boolean",
+      "required": false
+    },
   },
   "classLevelPermissions": {
     "find": {