msgbyte/tushan

createBooleanField编辑时有多余内容

Haiananan opened this issue · 2 comments

image

export const SystemFields = [
createTextField('openAIKeys', { label: 'openAIKeys,逗号隔开' }),
createTextField('openAITrainingKeys', { label: 'openAITrainingKeys' }),
createTextField('gpt4Key', { label: 'gpt4Key' }),
createTextField('vectorMaxProcess', { label: '向量最大进程' }),
createTextField('qaMaxProcess', { label: 'qa最大进程' }),
createTextField('pgIvfflatProbe', { label: 'pg 探针数量' }),
createBooleanField('sensitiveCheck', { label: '敏感词校验' })
];

如图所示,使用createBooleanField时,toggle底下还会有个类似Label的东西

fixed in v0.2.31

ok