From 7851e8082271e0e04d58c1e12a88a935b4b7058c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 4 Sep 2025 13:47:32 +0800 Subject: [PATCH] bugfix --- json/llm.json | 28 ++++++++++++++++++++++++++++ wwwroot/show_llms.ui | 5 +++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/json/llm.json b/json/llm.json index 4225bb7..654d6b9 100644 --- a/json/llm.json +++ b/json/llm.json @@ -8,6 +8,34 @@ "exclouded": ["id", "ownerid"], "alters": {} }, + "toolbar": { + "tools":[ + { + "name":"test", + "label":"体验", + "selected_row":true + } + ] + }, + "binds":[ + { + "wid":"self", + "event":"test", + "actiontype":"urlwidget", + "target":"PopupWindow", + "popup_options":{ + "title":"model Test", + "cwidth":22, + "height":"75%" + }, + "options":{ + "url":"{{entire_url('./llm_dialog.ui')}}", + "params":{ + "id":"${id}" + } + } + } + ], "editexclouded": [ "id", "ownerid" ], diff --git a/wwwroot/show_llms.ui b/wwwroot/show_llms.ui index 2149420..fbd78a1 100644 --- a/wwwroot/show_llms.ui +++ b/wwwroot/show_llms.ui @@ -27,10 +27,11 @@ "subwidgets":[ {% for llm in get_llms_by_catelog(cate.id) %} { - "widgettype":"VBox", + "widgettype":"VScrollPanel", "options":{ + "css":"card", "cwidth":16, - "cheight":8 + "cheight":14 }, "subwidgets":[ {