Update Footer.vue
This commit is contained in:
parent
9e7b9155f3
commit
291cf5bd33
@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const { t, availableLocales, locale } = useI18n()
|
const { t, availableLocales, locale } = useI18n()
|
||||||
|
|
||||||
const toggleLocales = () => {
|
function toggleLocales() {
|
||||||
// change to some real logic
|
// change to some real logic
|
||||||
const locales = availableLocales
|
const locales = availableLocales
|
||||||
locale.value = locales[(locales.indexOf(locale.value) + 1) % locales.length]
|
locale.value = locales[(locales.indexOf(locale.value) + 1) % locales.length]
|
||||||
|
Loading…
Reference in New Issue
Block a user