* zin: avoid create random id to dropdown menu.

This commit is contained in:
sunhao
2024-02-28 13:45:35 +08:00
parent e963380185
commit d17b2eca0b
-2
View File
@@ -125,7 +125,6 @@ class dropdown extends wg
$items[$index]['icon'] = 'icon-' . $item['icon'];
}
if(!is_array($menuProps)) $menuProps = array();
$menuProps['items'] = $items;
$menu = zui::dropdown
@@ -138,7 +137,6 @@ class dropdown extends wg
'strategy' => $strategy,
'arrow' => $arrow,
'flip' => $flip,
'id' => $id,
'offset' => $offset,
'target' => $target,
'className' => $menuClass,