소스 검색

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": {