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

This commit is contained in:
Lowell 2021-07-25 09:01:39 +08:00 committed by GitHub
parent fe4eae3714
commit 98c206d9c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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