From 98c206d9c9661a18dde4ec7782cbe1eb6e62ebeb Mon Sep 17 00:00:00 2001 From: Lowell Date: Sun, 25 Jul 2021 09:01:39 +0800 Subject: [PATCH] fix: expandIcon slot of BasicTable component is invalid (#975) --- src/components/Table/src/BasicTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue index 57ac53ba829..5a6d0e9c188 100644 --- a/src/components/Table/src/BasicTable.vue +++ b/src/components/Table/src/BasicTable.vue @@ -211,7 +211,7 @@ // ...(dataSource.length === 0 ? { getPopupContainer: () => document.body } : {}), ...attrs, customRow, - expandIcon: expandIcon(), + expandIcon: slots.expandIcon ? null : expandIcon(), ...unref(getProps), ...unref(getHeaderProps), scroll: unref(getScrollRef),