mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
25 lines
397 B
Vue
25 lines
397 B
Vue
<script setup lang="ts">
|
|
defineOptions({
|
|
name: 'SettingItem'
|
|
});
|
|
|
|
defineProps<Props>();
|
|
|
|
interface Props {
|
|
/** Label */
|
|
label: string;
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<div class="flex-y-center justify-between w-full">
|
|
<div>
|
|
<span class="text-base_text pr-8px">{{ label }}</span>
|
|
<slot name="suffix"></slot>
|
|
</div>
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped></style>
|