From d4d1933c7b38b4218bfde5e4403f5aa34609b7b4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 23 Jul 2026 13:35:42 +0800 Subject: [PATCH] fix: plain VBox+Form (no PopupWindow), popup via button target --- wwwroot/knowledge_bases_list/new_kb_form.ui | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/wwwroot/knowledge_bases_list/new_kb_form.ui b/wwwroot/knowledge_bases_list/new_kb_form.ui index a458943..6b04c60 100644 --- a/wwwroot/knowledge_bases_list/new_kb_form.ui +++ b/wwwroot/knowledge_bases_list/new_kb_form.ui @@ -1,14 +1,8 @@ { - "id": "new_kb_window", - "widgettype": "PopupWindow", - "options": { - "auto_open": true, - "anthor": "cc", - "cwidth": 18, - "cheight": 10, - "title": "新建知识库" - }, + "widgettype": "VBox", + "options": {"padding": "16px", "spacing": "12px"}, "subwidgets": [ + {"widgettype": "Text", "options": {"text": "新建知识库", "cfontsize": 18, "fontWeight": "bold"}}, { "widgettype": "Form", "id": "kb_form",