From 5e499e921b0d3f5c3cab3431b37ea6f722134afc Mon Sep 17 00:00:00 2001 From: gf8899 <155387293@qq.com> Date: Sun, 3 Jul 2022 02:16:43 +0000 Subject: [PATCH] update app/common/model/system/Department.php. --- app/common/model/system/Department.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/common/model/system/Department.php b/app/common/model/system/Department.php index 2af62f0a..43888907 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 []; } // 字段修改器 -- Gitee