feat: 优化switch组件的大小规格与整体表单一致
This commit is contained in:
@@ -77,7 +77,7 @@ export default function SettingsSensitiveWords(props) {
|
||||
<Form.Switch
|
||||
field={'CheckSensitiveEnabled'}
|
||||
label={'启用屏蔽词过滤功能'}
|
||||
size='large'
|
||||
size='default'
|
||||
checkedText='|'
|
||||
uncheckedText='〇'
|
||||
onChange={(value) => {
|
||||
@@ -92,7 +92,7 @@ export default function SettingsSensitiveWords(props) {
|
||||
<Form.Switch
|
||||
field={'CheckSensitiveOnPromptEnabled'}
|
||||
label={'启用 Prompt 检查'}
|
||||
size='large'
|
||||
size='default'
|
||||
checkedText='|'
|
||||
uncheckedText='〇'
|
||||
onChange={(value) =>
|
||||
|
||||
Reference in New Issue
Block a user