From 49276c7a0e606eb7917c5609e10688057c59ca13 Mon Sep 17 00:00:00 2001 From: ymq Date: Wed, 2 Sep 2026 15:02:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(rag-ui):=20=E5=88=A0=E9=99=A4new=5Fkb=5Ffor?= =?UTF-8?q?m.ui=E9=87=8D=E5=A4=8Dbinds=E9=94=AE=E2=80=94=E2=80=94JSON?= =?UTF-8?q?=E5=90=8E=E9=94=AE=E8=A6=86=E7=9B=96=E5=89=8D=E9=94=AE=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=88=B7=E6=96=B0bind=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/knowledge_bases_list/new_kb_form.ui | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/wwwroot/knowledge_bases_list/new_kb_form.ui b/wwwroot/knowledge_bases_list/new_kb_form.ui index 0859f46..6e687bd 100644 --- a/wwwroot/knowledge_bases_list/new_kb_form.ui +++ b/wwwroot/knowledge_bases_list/new_kb_form.ui @@ -26,14 +26,5 @@ {"name": "search_roles", "label": "检索角色(可多选)", "uitype": "checkbox", "multicheck": true, "dataurl": "{{entire_url('./role_options.dspy')}}", "valueField": "value", "textField": "text", "tip": "不选=同机构登录用户均可检索/下载"}, {"name": "embedding_type", "label": "向量引擎", "uitype": "code", "value": "bge-m3", "dataurl": "{{entire_url('./embedding_options.dspy')}}", "valueField": "value", "textField": "text"} ] - }, - "binds": [ - { - "wid": "self", - "event": "submited", - "actiontype": "script", - "target": "self", - "script": "var u='/rag/knowledge_bases_list/kb_list.dspy?_webbricks_=1';fetch(u).then(function(r){return r.json()}).then(function(d){var mc=bricks.getWidgetById('rag_main_content',bricks.app.root);if(mc){mc.clear_widgets();bricks.widgetBuild(d,mc).then(function(w){if(w)mc.add_widget(w)})}})" - } - ] + } }