Files
lina/src/components/Cards/Formatters/LabelsDetailFormatter.vue
2024-06-04 19:03:56 +08:00

33 lines
448 B
Vue

<template>
<div>
<ILabel
v-for="item in value"
:key="item.key"
:label="item"
/>
</div>
</template>
<script>
import ILabel from '@/components/Widgets/ILabel/index.vue'
export default {
name: 'LabelsDetailFormatter',
components: { ILabel },
props: {
label: {
type: String,
default: ''
},
value: {
type: Array,
default: () => []
}
}
}
</script>
<style scoped>
</style>