fix: access control, voices options

This commit is contained in:
jialin
2025-11-11 15:47:32 +08:00
parent ee5c30934b
commit 84187eedc4
19 changed files with 196 additions and 59 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ export const imageSizeOptions: {
export const TTSParamsConfig: ParamsSchema[] = [
{
type: 'Select',
type: 'AutoComplete',
name: 'voice',
options: [],
label: {
@@ -41,7 +41,7 @@ export const TTSParamsConfig: ParamsSchema[] = [
},
rules: [
{
required: true,
required: false,
message: 'Voice is required'
}
]
+4 -4
View File
@@ -38,13 +38,13 @@ export interface MessageItem {
type SchemaType =
| 'Input'
| 'InputNumber'
| 'Textarea'
| 'TextArea'
| 'Select'
| 'Slider'
| 'TextArea'
| 'Checkbox'
| 'Textarea'
| 'Switch';
| 'Checkbox'
| 'Switch'
| 'AutoComplete';
export interface ParamsSchema {
type: SchemaType;