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.
This commit is contained in:
yumoqing 2026-04-22 12:03:49 +08:00
parent 930ed6dea7
commit 450820d9ed

View File

@ -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",