<!--文本展示组件-->
<template>
    <span style="border-bottom: 1px solid #CDD0D6;width: 100%;display: block;">
      <slot v-if="$slots.default"></slot>
      <template v-else-if="props.data" >{{ props.data }}</template>
      <template v-else>&nbsp;</template>
    </span>
</template>

<script setup lang="ts">
let props = defineProps({
  data: { type: String, default: '', },
})
</script>

<style lang="scss" scoped>
</style>
