Web Editor home made
This commit is contained in:
@@ -19,14 +19,14 @@ export default defineComponent({
|
||||
const { setmeta } = MixinMetaTags()
|
||||
|
||||
async function created() {
|
||||
rec.value = await globalStore.loadPage(route.path)
|
||||
rec.value = await globalStore.loadPage(route.path, 'mypage.ts')
|
||||
// console.log('MyPage created', rec.value)
|
||||
|
||||
// console.log('mounted', this.rec)
|
||||
}
|
||||
|
||||
watch(path, async (to: string, from: string) => {
|
||||
// console.log('watch path', path)
|
||||
console.log('watch path', to, from)
|
||||
rec.value = await globalStore.loadPage(to)
|
||||
// console.log('path change', rec.value)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user