Parcourir la source

fix: depart hasChildren

ryanemax il y a 8 mois
Parent
commit
6b90461145
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  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": {