From c0a31d60df075e9b75ed852b33186ddb77bf53c2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 1 Aug 2026 11:18:34 +0800 Subject: [PATCH] fix: change cockpit refresh button to model config popup in index.ui --- wwwroot/index.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index e59517f..b219b9a 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -21,10 +21,10 @@ { "widgettype": "Filler" }, { "widgettype": "Button", - "options": { "name": "refresh", "label": "\u5237\u65b0", "css": "small" }, + "options": { "name": "model_config", "label": "\u6a21\u578b\u914d\u7f6e", "css": "small" }, "binds": [{ "wid": "self", "event": "click", "actiontype": "script", "target": "self", - "script": "location.reload();" + "script": "var pw=new bricks.PopupWindow({title:'\u6a21\u578b\u914d\u7f6e',auto_open:true});bricks.widgetBuild({widgettype:'urlwidget',options:{url:'/pipeline_core/llm/index.ui',method:'GET'}},pw.content_w).then(function(w){if(w)pw.content_w.add_widget(w);});" }] } ]