From 7846e02447b0354756b48e344002053b998a6710 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Fri, 19 Sep 2025 15:59:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor(notification):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=87=BD=E6=95=B0=E5=AF=BC=E5=85=A5=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../task-center-modal/components/export-task/index.vue | 2 +- .../task-center-modal/components/import-task/index.vue | 4 ++-- src/utils/{arcoD.tsx => notification.tsx} | 0 .../media-account/account-dashboard/index.vue | 4 ++-- .../account-manage/components/add-account-modal/index.vue | 2 +- .../property-marketing/media-account/account-manage/index.vue | 2 +- .../property-marketing/put-account/account-data/index.vue | 2 +- .../account-manage/components/add-account-modal/index.vue | 2 +- .../property-marketing/put-account/account-manage/index.vue | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) rename src/utils/{arcoD.tsx => notification.tsx} (100%) diff --git a/src/layouts/components/navbar/components/task-center-modal/components/export-task/index.vue b/src/layouts/components/navbar/components/task-center-modal/components/export-task/index.vue index 7686ef4..4fff449 100644 --- a/src/layouts/components/navbar/components/task-center-modal/components/export-task/index.vue +++ b/src/layouts/components/navbar/components/task-center-modal/components/export-task/index.vue @@ -12,7 +12,7 @@ import { useTableSelectionWithPagination } from '@/hooks/useTableSelectionWithPa import { downloadByUrl } from '@/utils/tools'; import DeleteTaskModal from './delete-task-modal.vue'; import icon1 from '@/assets/img/media-account/icon-delete.png'; -import { showExportNotification, showFailExportNotification } from '@/utils/arcoD'; +import { showExportNotification, showFailExportNotification } from '@/utils/notification'; export default { setup(props, { emit, expose }) { diff --git a/src/layouts/components/navbar/components/task-center-modal/components/import-task/index.vue b/src/layouts/components/navbar/components/task-center-modal/components/import-task/index.vue index 3648bea..c188ac5 100644 --- a/src/layouts/components/navbar/components/task-center-modal/components/import-task/index.vue +++ b/src/layouts/components/navbar/components/task-center-modal/components/import-task/index.vue @@ -11,7 +11,7 @@ import { useTableSelectionWithPagination } from '@/hooks/useTableSelectionWithPa import { downloadByUrl } from '@/utils/tools'; import DeleteTaskModal from './delete-task-modal.vue'; import icon1 from '@/assets/img/media-account/icon-delete.png'; -// import { showExportNotification } from '@/utils/arcoD'; +// import { showExportNotification } from '@/utils/notification'; export default { setup(props, { emit, expose }) { @@ -110,7 +110,7 @@ export default { selectedRowKeys.value = []; getData(); }; - + expose({ init, reset }); return () => ( diff --git a/src/utils/arcoD.tsx b/src/utils/notification.tsx similarity index 100% rename from src/utils/arcoD.tsx rename to src/utils/notification.tsx diff --git a/src/views/property-marketing/media-account/account-dashboard/index.vue b/src/views/property-marketing/media-account/account-dashboard/index.vue index 53af1c1..3e6114a 100644 --- a/src/views/property-marketing/media-account/account-dashboard/index.vue +++ b/src/views/property-marketing/media-account/account-dashboard/index.vue @@ -40,7 +40,7 @@ @sorterChange="handleSorterChange" />