fix: null component
This commit is contained in:
@@ -44,7 +44,11 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicPageLayout[getCurrentLayout]" v-bind="GET_PROPS()">
|
||||
<component
|
||||
v-if="definedDynamicPageLayout[getCurrentLayout]"
|
||||
:is="definedDynamicPageLayout[getCurrentLayout]"
|
||||
v-bind="GET_PROPS()"
|
||||
>
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user