Home Page With Element ! (Modular)
Arcadei Project... Inscription
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user