From bba2e12cbf99d4ae54054edd559e538986e875a2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 8 Jul 2026 18:03:14 +0800 Subject: [PATCH] fix: pipeline UI - menu width, task URL, admin button target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix task center URL: /pipeline_task/ → /pipeline_sdlc/sd_projects/ - Admin button opens in new window instead of replacing main content - Menu width: fixed 220px with min-width 200px --- wwwroot/index.ui | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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",