ContentWrap 添加 header 区域插槽

This commit is contained in:
lzpeng723 2023-06-01 10:06:36 +08:00 committed by GitHub
parent ac2df93af8
commit 80d81af169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ defineProps({
</template>
<Icon class="ml-5px" icon="bi:question-circle-fill" :size="14" />
</ElTooltip>
<div class="flex" style="flex-grow: 1; padding-left: 20px">
<slot name="header"></slot>
</div>
</div>
</template>
<div>