From d1fc9bd7125b5935fa58f2dea1a92a89e6c8e00f Mon Sep 17 00:00:00 2001 From: Seefs Date: Tue, 2 Sep 2025 18:28:23 +0800 Subject: [PATCH] fix: adjust column spans in JSONEditor for better layout #1719 --- controller/model.go | 2 +- web/src/components/common/ui/JSONEditor.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controller/model.go b/controller/model.go index c9cb24d9..f0571b99 100644 --- a/controller/model.go +++ b/controller/model.go @@ -207,7 +207,7 @@ func ListModels(c *gin.Context, modelType int) { c.JSON(200, gin.H{ "success": true, "data": userOpenAiModels, - "object": "list", + "object": "list", }) } } diff --git a/web/src/components/common/ui/JSONEditor.jsx b/web/src/components/common/ui/JSONEditor.jsx index 7acdc2e3..d8975387 100644 --- a/web/src/components/common/ui/JSONEditor.jsx +++ b/web/src/components/common/ui/JSONEditor.jsx @@ -443,7 +443,7 @@ const JSONEditor = ({ return ( - +
- {renderValueInput(pair.id, pair.value)} + {renderValueInput(pair.id, pair.value)}