feat: 导入账号后轮询任务状态

This commit is contained in:
rd
2025-07-18 14:43:19 +08:00
parent 69c7415aea
commit 5063cd50f8
8 changed files with 100 additions and 52 deletions

View File

@ -1,14 +1,15 @@
import { Notification } from '@arco-design/web-vue';
import { IconLoading } from '@arco-design/web-vue/es/icon';
export function showExportNotification(name: string) {
export function showExportNotification(label: string, id: '') {
Notification.warning({
id,
showIcon: false,
closable: true,
content: () => (
<div class="flex items-center">
<IconLoading size={16} class="color-#6D4CFE mr-8px" />
<p class="text-14px lh-22px font-400 color-#211F24">{`正在下载“${name}”,请稍后...`}</p>
<p class="text-14px lh-22px font-400 color-#211F24">{label}</p>
</div>
),
duration: 3000,