diff --git a/app/common/model/system/Department.php b/app/common/model/system/Department.php index 2af62f0a29ce2d2f2d6df99591a1f071c4c14a3b..4388890742197befbaba1177c73b150dc83a1ed3 100644 --- a/app/common/model/system/Department.php +++ b/app/common/model/system/Department.php @@ -27,6 +27,7 @@ class Department extends Model if (is_array($array) && !empty($array)) { return list_to_tree($array); } + return []; } // 字段修改器