feat: release OpsXShell 2.1.0 native Tauri edition

This commit is contained in:
Logan.Li committed 2026-07-30 23:32:51 +08:00
1 parent e9a0d21758
commit a3dba0c6ed
311 files changed
+31748 -14897

No files matched your search

+3 -3
View File
@@ -12,7 +12,7 @@ interface TransferPanelProps {
tasks: TransferTask[]
isOpen: boolean
onToggle: () => void
onCancel: (id: string) => void
onCancel?: (id: string) => void
onRemove: (id: string) => void
}
@@ -30,7 +30,7 @@ export function TransferPanel({ tasks, isOpen, onToggle, onCancel, onRemove }: T
<div className="flex items-center gap-2">
<span className="text-sm font-medium">传输队列</span>
{activeCount > 0 && (
<span className="px-2 py-0.5 bg-surface-baseccent-blue/20 text-accent-blue text-xs rounded-full">
<span className="px-2 py-0.5 bg-accent-blue/20 text-accent-blue text-xs rounded-full">
{activeCount} 进行中
</span>
)}
@@ -53,7 +53,7 @@ export function TransferPanel({ tasks, isOpen, onToggle, onCancel, onRemove }: T
<TransferItem
key={task.id}
task={task}
onCancel={() => onCancel(task.id)}
onCancel={onCancel ? () => onCancel(task.id) : undefined}
onRemove={() => onRemove(task.id)}
/>
))}