diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 477ddd3..cc0a36b 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -10,7 +10,7 @@ {"widgettype": "Button", "id": "btn_toggle_sidebar", "options": {"label": "☰", "css": "text", "color": "#fff", "cfontsize": 1.4}, "binds": [{"wid": "self", "event": "click", "actiontype": "method", "target": "app.sidebar_menu", "method": "toggle_collapse"}]}, {"widgettype": "Title4", "options": {"text": "产线平台", "color": "#fff"}}, {"widgettype": "Filler"}, - {"widgettype": "Button", "options": {"label": "管理", "css": "text", "color": "#fff"}, "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.main_content", "options": {"url": "{{entire_url('/rbac/user/')}}"}, "mode": "replace"}]} + {"widgettype": "Button", "options": {"label": "管理", "css": "text", "color": "#fff"}, "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "window", "options": {"url": "{{entire_url('/rbac/user/')}}"}}]} ] }, { @@ -21,7 +21,8 @@ "widgettype": "Menu", "id": "sidebar_menu", "options": { - "cwidth": 16, + "width": "220px", + "minWidth": "200px", "height": "100%", "bgcolor": "#f8fafc", "target": "app.main_content",