优化批量转写的显示效果

This commit is contained in:
xuncha
2026-02-06 23:11:03 +08:00
parent 63ac715792
commit c988e4accf
3 changed files with 12 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ export const BatchTranscribeGlobal: React.FC = () => {
showToast,
showResult,
result,
sessionName,
setShowToast,
setShowResult
} = useBatchTranscribeStore()
@@ -27,7 +28,7 @@ export const BatchTranscribeGlobal: React.FC = () => {
<div className="batch-progress-toast-header">
<div className="batch-progress-toast-title">
<Loader2 size={14} className="spin" />
<span></span>
<span>{sessionName ? `${sessionName}` : ''}</span>
</div>
<button className="batch-progress-toast-close" onClick={() => setShowToast(false)} title="最小化">
<X size={14} />