PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
@@ -2,9 +2,9 @@ import {
|
||||
defineComponent, onMounted, ref, toRef, watch,
|
||||
} from 'vue'
|
||||
|
||||
import { IMyPage } from '@src/model'
|
||||
import type { IMyPage } from '@src/model'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { LandingFooter } from '@/components/LandingFooter'
|
||||
import { LandingFooter } from '@src/components/LandingFooter'
|
||||
|
||||
import { CImgTitle } from '../CImgTitle/index'
|
||||
import { CTitle } from '../CTitle/index'
|
||||
@@ -60,8 +60,8 @@ export default defineComponent({
|
||||
|
||||
}
|
||||
|
||||
watch(() => props.mypath, async (to: string, from: string) => {
|
||||
console.log('load', mypath.value, to, from )
|
||||
watch(() => props.mypath, async (to: string, from: string) => {
|
||||
console.log('load', mypath.value, to, from)
|
||||
if (mypath.value !== '') rec.value = await globalStore.loadPage('/' + mypath.value, 'cmypage watch')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user