Commit 98c206d9c9661a18dde4ec7782cbe1eb6e62ebeb

Authored by Lowell
Committed by GitHub
1 parent fe4eae37

fix: expandIcon slot of BasicTable component is invalid (#975)

src/components/Table/src/BasicTable.vue
@@ -211,7 +211,7 @@ @@ -211,7 +211,7 @@
211 // ...(dataSource.length === 0 ? { getPopupContainer: () => document.body } : {}), 211 // ...(dataSource.length === 0 ? { getPopupContainer: () => document.body } : {}),
212 ...attrs, 212 ...attrs,
213 customRow, 213 customRow,
214 - expandIcon: expandIcon(), 214 + expandIcon: slots.expandIcon ? null : expandIcon(),
215 ...unref(getProps), 215 ...unref(getProps),
216 ...unref(getHeaderProps), 216 ...unref(getHeaderProps),
217 scroll: unref(getScrollRef), 217 scroll: unref(getScrollRef),