From 481dacde23a253fa62486108ac08581ce0eab7c4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 23 Jul 2026 13:55:44 +0800 Subject: [PATCH] fix: dismiss_events [command] prevents popup close on click --- wwwroot/knowledge_bases_list/index.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/knowledge_bases_list/index.ui b/wwwroot/knowledge_bases_list/index.ui index 27be65b..f4fa149 100644 --- a/wwwroot/knowledge_bases_list/index.ui +++ b/wwwroot/knowledge_bases_list/index.ui @@ -15,7 +15,7 @@ {"widgettype": "Button", "options": {"label": "+ 新建知识库", "bgcolor": "#4a90d9", "color": "#fff"}, "binds": [ {"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "Popup", - "popup_options": {"auto_close": false}, + "popup_options": {"dismiss_events": ["command"]}, "options": {"url": "{{entire_url('/knowledge_bases_list/new_kb_form.ui')}}"}} ]} ]