* Fix error of product menu in project-execution.

This commit is contained in:
zhouxin
2023-10-23 14:49:27 +08:00
parent 2321661120
commit cf4963aec0
+2
View File
@@ -88,10 +88,12 @@ $productMenuLink = createLink(
$productItems = array();
foreach($productList as $key => $value) $productItems[] = array('text' => $value, 'id' => $key);
$productName = !empty($product) ? $product->name : '';
featureBar
(
to::before(productMenu(set
([
'title' => $productName,
'items' => $productItems,
'activeKey' => $productID,
'closeLink' => '#',