2022-01-09 13:25:42 +08:00
|
|
|
<template>
|
|
|
|
<div class="flex-y-center justify-between">
|
|
|
|
<span>{{ label }}</span>
|
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
interface Props {
|
|
|
|
/** 文本 */
|
|
|
|
label: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
defineProps<Props>();
|
|
|
|
</script>
|
2022-05-28 12:30:17 +08:00
|
|
|
|
2022-01-09 13:25:42 +08:00
|
|
|
<style scoped></style>
|