- {directOnly ? (
+ {isDirectStream ? (
+
+ {directStreamLabel || '直连播放'}
+
+ ) : directOnly ? (
{
e.currentTarget.closest('details')?.removeAttribute('open')
runGlobalBatch(
- () => strmAPI.retryFailedDownloads(),
+ () =>
+ isDownload
+ ? strmAPI.retryFailedDownloads()
+ : strmAPI.retryFailedUploads(),
'确定重新入队所有失败任务?',
)
}}
@@ -340,23 +343,26 @@ export function StrmQueuePanel({ kind }: { kind: 'download' | 'upload' }) {
)}
- {isDownload && (
-
- )}
+
清空已取消记录
- {isDownload && (
-
- )}
+