fix langs
This commit is contained in:
@ -1,16 +1,11 @@
|
||||
<template>
|
||||
<KeepAlive>
|
||||
<component
|
||||
:is="component.componentInstance"
|
||||
v-for="component in componentsList"
|
||||
:key="component.name"
|
||||
:component="component.component"
|
||||
/>
|
||||
<component :is="component.componentInstance" v-for="component in componentsList" :key="component.name"
|
||||
:component="component.component" />
|
||||
</KeepAlive>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
// import { useStore } from "@/stores/store";
|
||||
const route = useRoute();
|
||||
const store = useStore();
|
||||
const menuStore = useMenuStore();
|
||||
@ -20,7 +15,7 @@ onMounted(() => {
|
||||
menuStore.openMenu = false;
|
||||
});
|
||||
|
||||
// useHead(menuStore.headMeta);
|
||||
useHead(menuStore.headMeta);
|
||||
|
||||
const componentsList = await store.getComponents(route.params.id)
|
||||
|
||||
|
Reference in New Issue
Block a user