Skip to content

Commit c4064ef

Browse files
committed
fix(config): 修复openapi配置项布局问题
- 为openapi配置项添加col(6)布局属性 - 确保配置界面中openapi相关字段正确对齐显示
1 parent b003dfd commit c4064ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/enterprise-plugin/src/main/java/tech/smartboot/mqtt/plugin/EnterprisePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public Schema schema() {
194194
showMetrics.addEnums(Enum.of("messages_qos2_sent", "发送给客户端的 QoS 2 消息数量"));
195195
schema.addItem(showMetrics);
196196

197-
Item openapi = Item.Object("openai", "openai服务配置");
197+
Item openapi = Item.Object("openai", "openai服务配置").col(6);
198198
openapi.addItems(Item.String("url", "OpenAI URL"));
199199
openapi.addItems(Item.Password("apiKey", "API秘钥").col(6));
200200
openapi.addItems(Item.String("model", "模型").col(6));

0 commit comments

Comments
 (0)