32 lines
492 B
Vue
32 lines
492 B
Vue
![]() |
<template>
|
||
|
<el-tooltip :content="content" v-if="settingStore.showToolTip">
|
||
|
<el-icon :class="class">
|
||
|
<InfoFilled />
|
||
|
</el-icon>
|
||
|
</el-tooltip>
|
||
|
|
||
|
</template>
|
||
|
<script setup lang="ts">
|
||
|
import { defineProps } from 'vue';
|
||
|
import useSettingStore from '@/stores/modules/setting'
|
||
|
const settingStore = useSettingStore()
|
||
|
|
||
|
|
||
|
|
||
|
defineProps({
|
||
|
class: {
|
||
|
type: String,
|
||
|
default: "ml-2 mt-4"
|
||
|
},
|
||
|
content: {
|
||
|
type: String
|
||
|
}
|
||
|
})
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</script>
|