ContentWrap 支持 header 区域

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

View File

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