Home Page With Element ! (Modular)

Arcadei Project...
Inscription
This commit is contained in:
paoloar77
2022-10-28 17:07:13 +02:00
parent 8e3ada35ea
commit 2399124a33
45 changed files with 2651 additions and 299 deletions

View File

@@ -54,12 +54,12 @@ export default defineComponent({
const load = async (): Promise<void> => {
// console.log('load', mypath.value)
if (mypath.value !== '') rec.value = await globalStore.loadPage('/'+mypath.value)
if (mypath.value !== '') rec.value = await globalStore.loadPage('/' + mypath.value)
}
watch(() => props.mypath, async (to: string, from: string) => {
// console.log('load', mypath.value)
if (mypath.value !== '') rec.value = await globalStore.loadPage('/'+mypath.value)
if (mypath.value !== '') rec.value = await globalStore.loadPage('/' + mypath.value)
})
// onMounted(load)

View File

@@ -1,7 +1,6 @@
<template>
<div>
<div v-if="mypath && !!rec">
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<div v-if="!!rec.img1" class="text-center">
<q-img :src="``+ rec.img1" class="img"></q-img>