fix: null component

This commit is contained in:
MoreStrive
2024-07-05 11:02:04 +07:00
parent 5889e9af0e
commit a5f9ff7bac
30 changed files with 96 additions and 20 deletions
@@ -36,7 +36,7 @@ const GET_PROPS = computed(() => {
</script>
<template>
<component :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
<component v-if="definedDynamicSection[getCurrentSection]" :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
<slot />
</component>
</template>