From 450820d9ed2052f6ff8faf7c62b592a6b19e46d6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 22 Apr 2026 12:03:49 +0800 Subject: [PATCH] fix(hermes-web-cli): remove unnecessary binds from Menu widget Menu widget automatically handles item_click events when url and target are provided in menu items, so explicit binds are not needed. --- wwwroot/index.ui | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index f6c4a99..0a7fd6a 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -91,20 +91,7 @@ ], "item_cheight": 40, "menuitem_css": "menuitem" - }, - "binds": [ - { - "wid": "self", - "event": "item_click", - "actiontype": "urlwidget", - "target": "main-content", - "options": { - "url": "{{params.url}}", - "params": {} - }, - "mode": "replace" - } - ] + } }, { "widgettype": "VBox",