1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| <script lang="ts" setup>
| import { propTypes } from '@/utils/propTypes'
|
| defineOptions({ name: 'Tooltip' })
|
| defineProps({
| title: propTypes.string.def(''),
| message: propTypes.string.def(''),
| icon: propTypes.string.def('ep:question-filled')
| })
| </script>
| <template>
| <span>{{ title }}</span>
| <ElTooltip :content="message" placement="top">
| <Icon :icon="icon" class="relative top-1px ml-1px" />
| </ElTooltip>
| </template>
|
|