* [bug] fix code error.

This commit is contained in:
sunguangming
2024-07-04 15:06:12 +08:00
committed by 田淑杰
parent 3e9a57ad50
commit 12fa48f250
+4 -3
View File
@@ -533,9 +533,10 @@ class treeModel extends model
if($productNum > 1)
{
$menuItem = new stdclass();
$menuItem->id = $id;
$menuItem->name = $product;
$menuItem->url = helper::createLink('execution', 'task', "executionID=$rootID&status=byProduct&praram=$id");
$menuItem->id = $id;
$menuItem->name = $product;
$menuItem->parent = 0;
$menuItem->url = helper::createLink('execution', 'task', "executionID=$rootID&status=byProduct&praram=$id");
$menu[] = $menuItem;
}