* Modify the module tree problem on the left.

This commit is contained in:
tianshujie
2023-03-29 09:44:36 +08:00
parent 5b1a4ebfba
commit 3bb5d29665
3 changed files with 18 additions and 11 deletions
+9 -7
View File
@@ -2867,15 +2867,17 @@ class docModel extends model
if(empty($libTree['execution'][$executionID]))
{
$execution = new stdclass();
$execution->id = $executionID;
$execution->name = zget($executionPairs, $executionID);
$execution->type = 'execution';
$execution->active = $item->active;
$execution->children = array();
$execution->id = $executionID;
$execution->name = zget($executionPairs, $executionID);
$execution->type = 'execution';
$execution->active = $item->active;
$execution->hasAction = false;
$execution->children = array();
if(count($executionLibs[$executionID]) == 1)
{
$execution->id = $item->id;
$execution->children = $item->children;
$execution->id = $item->id;
$execution->hasAction = true;
$execution->children = $item->children;
}
$libTree['execution'][$executionID] = $execution;