mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
18 lines
326 B
Vue
18 lines
326 B
Vue
|
<script setup lang="ts">
|
||
|
import { computed } from 'vue'
|
||
|
import ApiTyping from './vp-api-typing.vue'
|
||
|
|
||
|
const props = defineProps({
|
||
|
values: {
|
||
|
type: Array,
|
||
|
required: true,
|
||
|
},
|
||
|
})
|
||
|
|
||
|
const details = computed(() => props.values.join(' | '))
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<api-typing type="enum" :details="details" />
|
||
|
</template>
|