feat: 批量下载任务

This commit is contained in:
rd
2025-07-21 15:10:26 +08:00
parent 4800d5fa99
commit e6798bf313
8 changed files with 103 additions and 20 deletions

View File

@ -13,7 +13,7 @@ interface RenderNotificationData {
file?: string;
}
export function showExportNotification(label: string, id: '') {
export function showExportNotification(label: string, { id = '', duration = 3000}) {
Notification.warning({
id,
showIcon: false,
@ -24,7 +24,7 @@ export function showExportNotification(label: string, id: '') {
<p class="text-14px lh-22px font-400 color-#211F24">{label}</p>
</div>
),
duration: 3000,
duration,
class: 'px-16px py-9px w-400px rounded-2px bg-#F0EDFF',
});
}