feat(Tabs): add nav-bottom slot (#8915)

This commit is contained in:
neverland
2021-06-23 16:38:29 +08:00
committed by GitHub
parent ec0f16b2aa
commit 2877363489
5 changed files with 41 additions and 11 deletions
+2 -1
View File
@@ -463,9 +463,10 @@ export default defineComponent({
onScroll={onStickyScroll}
>
{renderHeader()}
{slots['nav-bottom']?.()}
</Sticky>
) : (
renderHeader()
[renderHeader(), slots['nav-bottom']?.()]
)}
<TabsContent
count={children.length}