From cbcee3892ae4f56cca5f3bb2435e446022323e11 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Sat, 15 Mar 2025 11:11:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E8=BD=AC=E6=A0=91=E7=8A=B6=E7=BB=93=E6=9E=84=E5=B0=81?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/common.php b/app/admin/common.php index 7134e6f6..e0665372 100644 --- a/app/admin/common.php +++ b/app/admin/common.php @@ -24,7 +24,7 @@ if (!function_exists('array_to_tree')) { if ($keep_pid === false) { unset($item[$with]); } - $children = array_to_tree($data, $item['id'], $with, $lv); + $children = array_to_tree($data, $item['id'], $with, $lv, $keep_pid); if ($children) { $item['children'] = $children; }