Commit 98c206d9c9661a18dde4ec7782cbe1eb6e62ebeb
Committed by
GitHub
1 parent
fe4eae37
fix: expandIcon slot of BasicTable component is invalid (#975)
Showing
1 changed file
with
1 additions
and
1 deletions
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), |