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 | 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), | ... | ... |