From 60fb6c78bc919421830fe537ae2339c887cdee74 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 2 Aug 2026 23:58:04 +0800 Subject: [PATCH] fix: update_apikey popup - change checkbox uitype to check (single toggle doesn't need data array) --- wwwroot/update_apikey.dspy | 2 +- wwwroot/update_apikey.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/update_apikey.dspy b/wwwroot/update_apikey.dspy index 8221fc3..1dfea9f 100644 --- a/wwwroot/update_apikey.dspy +++ b/wwwroot/update_apikey.dspy @@ -63,7 +63,7 @@ try: { "name": "regenerate_apikey", "label": "重新生成API Key", - "uitype": "checkbox", + "uitype": "check", "description": "勾选后将重新生成API Key,原Key将失效" } ] diff --git a/wwwroot/update_apikey.ui b/wwwroot/update_apikey.ui index a8f490a..77170f1 100644 --- a/wwwroot/update_apikey.ui +++ b/wwwroot/update_apikey.ui @@ -30,7 +30,7 @@ { "name":"regenerate_apikey", "label":"重新生成API Key", - "uitype":"checkbox", + "uitype":"check", "description": "勾选后将重新生成API Key,原Key将失效" } ]