Files
myprojplanet_vite/src/components/logo/logo.ts
2025-03-23 22:53:53 +01:00

36 lines
545 B
TypeScript
Executable File

import {
defineComponent,
} from 'vue'
import { tools } from '@src/store/Modules/tools'
import { useQuasar } from 'quasar'
import { useI18n } from 'vue-i18n'
export default defineComponent({
name: 'Logo',
props: {
mystyle: {
type: String,
required: false,
default: '',
},
},
setup() {
const { t } = useI18n()
function logoimg() {
return `${tools.getimglogo()}`
}
function logoalt() {
return t('ws.sitename')
}
return {
logoimg,
logoalt,
}
},
})