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 211 // ...(dataSource.length === 0 ? { getPopupContainer: () => document.body } : {}),
212 212 ...attrs,
213 213 customRow,
214   - expandIcon: expandIcon(),
  214 + expandIcon: slots.expandIcon ? null : expandIcon(),
215 215 ...unref(getProps),
216 216 ...unref(getHeaderProps),
217 217 scroll: unref(getScrollRef),
... ...