feat: 批量下载任务
This commit is contained in:
@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user