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
@@ -29,6 +29,9 @@ const GET_PROPS = computed(() => {
</script>
<template>
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }" />
</template>
../stocks/index
<component
v-if="definedDynamicComponent[getCurrentComponent]"
:is="definedDynamicComponent[getCurrentComponent]"
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
/>
</template>