|
|
@@ -20,11 +20,11 @@
|
|
|
},
|
|
|
async mounted () {
|
|
|
const pageStore = await usePageStore()
|
|
|
- this.page = await pageStore.getPageByTitle(this.route.name as String)
|
|
|
+ this.page = await pageStore.getPageByTitle(this.route.name as string)
|
|
|
},
|
|
|
async updated(){
|
|
|
const pageStore = await usePageStore()
|
|
|
- this.page = await pageStore.getPageByTitle(this.route.name as String)
|
|
|
+ this.page = await pageStore.getPageByTitle(this.route.name as string)
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
@@ -32,12 +32,12 @@
|
|
|
<template>
|
|
|
<main>
|
|
|
<div class="components">
|
|
|
- <div class="component component-bg-top"> </div>
|
|
|
+ <div class="component component-bg-top"> </div>
|
|
|
<div class="component component-text">
|
|
|
<h1> {{ page?.Title }}</h1>
|
|
|
<Content :jsonContent="page?.Content"/>
|
|
|
</div>
|
|
|
- <div class="component component-bg-bottom"> </div>
|
|
|
+ <div class="component component-bg-bottom"> </div>
|
|
|
</div>
|
|
|
</main>
|
|
|
</template>
|