From da47ad0cdbf2b545528f24618a457665d6aa39a2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 27 May 2026 18:50:01 +0800 Subject: [PATCH] bugfix --- wwwroot/index.ui | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 22c9938..61f4d3a 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -110,10 +110,27 @@ "subwidgets": [ { "widgettype": "urlwidget", + "id": "global_menu_widget", "options": { "url": "{{entire_url('global_menu.ui')}}" } } + ], + "binds": [ + { + "wid": "app", + "event": "user_logined", + "actiontype": "script", + "target": "self", + "script": "sageReloadMenu()" + }, + { + "wid": "app", + "event": "sage_logout", + "actiontype": "script", + "target": "self", + "script": "sageReloadMenu()" + } ] }, {