* Fix project list error.

This commit is contained in:
tianshujie
2023-07-05 16:08:11 +08:00
parent 14c6232438
commit 37e0b1a825
+1 -1
View File
@@ -604,7 +604,7 @@ function initTableData(array $items, array &$fieldList, object $model = null): a
$item->isParent = true;
}
if(!empty($item->parent) && !isset($items[$item->parent])) $items->parent = '';
if(!empty($item->parent) && !isset($items[$item->parent])) $item->parent = '';
if(!empty($item->parent) && isset($items[$item->parent])) $items[$item->parent]->isParent = true;
if(count($item->actions) > $maxActionCount) $maxActionCount = count($item->actions);