统一甲屿云命名体系
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<section class="section">
|
||||
<div v-if="title || $slots.action" class="section__head">
|
||||
<h2 v-if="title">{{ title }}</h2>
|
||||
<slot name="action" />
|
||||
</div>
|
||||
<slot />
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
title?: string
|
||||
}>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user