From 036a6914c171600244f7b158b9574e9bc6a9ba88 Mon Sep 17 00:00:00 2001 From: danranVm Date: Fri, 8 Jul 2022 10:44:31 +0800 Subject: [PATCH] fix(pro:table): not working with customAdditional (#1004) --- packages/components/notification/index.ts | 1 + packages/pro/table/src/ProTable.tsx | 2 +- packages/site/src/App.vue | 10 ++++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/components/notification/index.ts b/packages/components/notification/index.ts index 64b65d4fb..280e1f27a 100644 --- a/packages/components/notification/index.ts +++ b/packages/components/notification/index.ts @@ -24,5 +24,6 @@ export type { NotificationPlacement, NotificationRef, NotificationProviderRef, + NotificationProviderInstance, NotificationProviderComponent, } from './src/types' diff --git a/packages/pro/table/src/ProTable.tsx b/packages/pro/table/src/ProTable.tsx index b4e54f226..d58c48ca7 100644 --- a/packages/pro/table/src/ProTable.tsx +++ b/packages/pro/table/src/ProTable.tsx @@ -103,7 +103,7 @@ export default defineComponent({ } const mergedCustomTag: TableCustomTag = { headCell: resizable ? ResizableHeadCell : undefined, - ...customAdditional, + ...customTag, } return ( diff --git a/packages/site/src/App.vue b/packages/site/src/App.vue index ef9ef6052..748609289 100644 --- a/packages/site/src/App.vue +++ b/packages/site/src/App.vue @@ -1,8 +1,8 @@