refactor(@vben-core/tabs-ui): refactor tabs chrome component

This commit is contained in:
vben
2024-07-14 15:18:02 +08:00
parent d1a19c525f
commit fed422e187
35 changed files with 662 additions and 518 deletions

View File

@@ -37,7 +37,7 @@ const style = computed((): CSSProperties => {
</script>
<template>
<section :style="style" class="border-border flex w-full border-b">
<section :style="style" class="border-border flex w-full">
<slot></slot>
<div class="flex items-center">
<slot name="toolbar"></slot>

View File

@@ -533,9 +533,6 @@ function handleOpenMenu() {
:style="tabbarStyle"
>
<slot name="tabbar"></slot>
<template #toolbar>
<slot name="tabbar-tools"></slot>
</template>
</LayoutTabbar>
</div>