123456789101112131415161718192021 |
- <template>
- <el-tooltip :effect="effect" raw-content >
- <template #content>{{notes}}</template>
- <template v-if="slotFalg"><slot name="content"></slot></template>
- <i-ep-QuestionFilled v-if="!slotFalg" class="lMar5 f14 pointer" :class="colorCss"/>
- </el-tooltip>
- </template>
- <script lang="ts" setup>
- const props = withDefaults(defineProps<{
- notes?: string,
- colorCss?: string,
- effect?: string,
- slotFalg?:boolean
- }>(), {
- notes: '',
- colorCss: 'c-999',
- effect: 'light',
- slotFalg:false
- })
- </script>
|