From b7d30d42380c82ebfbfc8404467ce8c9604b1023 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 23 Jul 2026 13:33:21 +0800 Subject: [PATCH] fix: urlwidget+target Popup pattern (same as top.ui menu) --- wwwroot/knowledge_bases_list/index.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wwwroot/knowledge_bases_list/index.ui b/wwwroot/knowledge_bases_list/index.ui index 2a7d501..df18fb2 100644 --- a/wwwroot/knowledge_bases_list/index.ui +++ b/wwwroot/knowledge_bases_list/index.ui @@ -13,7 +13,8 @@ "subwidgets": [ {"widgettype": "Text", "options": {"text": "知识库", "cfontsize": 22, "fontWeight": "bold", "color": "#333"}}, {"widgettype": "Button", "options": {"label": "+ 新建知识库", "bgcolor": "#4a90d9", "color": "#fff"}, "binds": [ - {"wid": "self", "event": "click", "actiontype": "PopupWindow", + {"wid": "self", "event": "click", "actiontype": "urlwidget", + "target": "Popup", "options": {"url": "{{entire_url('/knowledge_bases_list/new_kb_form.ui')}}"}} ]} ]