feat: enhance audio processing and error handling in TTS backend; refactor user dialog form validation

This commit is contained in:
2026-02-03 17:37:14 +08:00
parent 5a22351a66
commit 244ff94c6a
12 changed files with 117 additions and 169 deletions

View File

@@ -20,7 +20,6 @@ import { JobDetailDialog } from '@/components/JobDetailDialog'
interface HistoryItemProps {
job: Job
onDelete: (id: number) => void
onLoadParams: (job: Job) => void
}
const jobTypeBadgeVariant = {
@@ -35,7 +34,7 @@ const jobTypeLabel = {
voice_clone: '声音克隆',
}
const HistoryItem = memo(({ job, onDelete, onLoadParams }: HistoryItemProps) => {
const HistoryItem = memo(({ job, onDelete }: HistoryItemProps) => {
const [detailDialogOpen, setDetailDialogOpen] = useState(false)
const getLanguageDisplay = (lang: string | undefined) => {