<template>
  <text :class="`wl_enum_tag wl_tag_size_${size}`" :style="styleObj">
    {{ props?.Enums?.[props.value]?.text }}
  </text>
</template>
<script setup lang="ts">
import { onMounted, ref, watch } from 'vue'
const styleObj = ref()
const props = defineProps(['Enums', 'value', 'type', 'size'])
</script>
<style scoped lang="scss">
.wl_enum_tag {
  padding-left: 5rpx;
}

.wl_tag_size_md {
  padding: 3rpx 12rpx;
  font-size: 24rpx;
}
</style>
