* [bug#69025,done,0.2h] fix the values are the same but the types are different.

This commit is contained in:
tianshujie
2026-01-19 15:59:46 +08:00
parent 6abd4745d3
commit be54586c05
+1 -1
View File
@@ -95,7 +95,7 @@ class moduleMenu extends wg
$items = $this->buildMenuTree($child->id);
if($items) $item['items'] = $items;
if($child->id === $activeKey || $child->id === 'product-' . $activeKey)
if((string)$child->id === (string)$activeKey || $child->id === 'product-' . $activeKey)
{
$itemKey = $this->prop('checkbox') ? 'checked' : 'selected';
$item[$itemKey] = true;