From f85913a235b5633818a962b99140a5028b712c45 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 2 Jul 2026 11:23:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20catelog=20tabs=20use=20urlwidget=20bind?= =?UTF-8?q?=20instead=20of=20invalid=20actiontype:link=20=E2=80=94=20Butto?= =?UTF-8?q?n=20does=20not=20handle=20actiontype=20in=20opts,=20only=20in?= =?UTF-8?q?=20binds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/llm_dialog.ui | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/wwwroot/llm_dialog.ui b/wwwroot/llm_dialog.ui index ddcaf8c..b5fa75d 100644 --- a/wwwroot/llm_dialog.ui +++ b/wwwroot/llm_dialog.ui @@ -33,12 +33,21 @@ "widgettype":"Button", "options":{ "label":"{{c.catelogname}}", - "actiontype":"link", {% if c.catelogid == ns.active_catelogid %} "css":"primary", {% endif %} "url":"{{entire_url('/llmage/llm_dialog.ui')}}?id={{params_kw.id}}&catelogid={{c.catelogid}}" - } + }, + "binds":[{ + "wid":"self", + "event":"click", + "actiontype":"urlwidget", + "target":"app.sage_main_content", + "mode":"replace", + "options":{ + "url":"{{entire_url('/llmage/llm_dialog.ui')}}?id={{params_kw.id}}&catelogid={{c.catelogid}}" + } + }] }{% if not loop.last %},{% endif %} {% endfor %} ]