- Fare LISTA MOVIMENTI più comprensibile

- Grafica Circuiti
This commit is contained in:
Surya Paolo
2024-10-02 03:46:40 +02:00
parent 1424060813
commit e29de7e0f6
47 changed files with 937 additions and 291 deletions

View File

@@ -7,7 +7,7 @@ import { tools } from '@store/Modules/tools'
import { shared_consts } from '@src/common/shared_vuejs'
import { useI18n } from '@src/boot/i18n'
import { useRouter } from 'vue-router'
import { useRouter, useRoute } from 'vue-router'
import { static_data } from '@/db/static_data'
import { useGlobalStore } from '@store/globalStore'
import { useUserStore } from '@store/UserStore'
@@ -23,6 +23,7 @@ export default defineComponent({
const $q = useQuasar()
const { t } = useI18n()
const $router = useRouter()
const $route = useRoute()
const userStore = useUserStore()
const globalStore = useGlobalStore()
@@ -32,10 +33,16 @@ export default defineComponent({
const { getMyUsername, Username, getMyImg } = MixinUsers()
const currentPath = computed(() => $route.path); // Uso di computed per la reattività
function mounted() {
// mounted
}
function naviga(path: string) {
$router.push(path)
}
onMounted(mounted)
return {
@@ -47,6 +54,8 @@ export default defineComponent({
tools,
site,
getMyImg,
naviga,
currentPath,
}
},