phongdt:fix collection

This commit is contained in:
Duong Truong Phong
2024-05-31 16:59:14 +07:00
parent 2f8c9b9cb8
commit cfb0592ce3
2 changed files with 2 additions and 11 deletions
@@ -44,7 +44,6 @@ const findDataPosition = computed(() => {
:settings="findDataPosition.settings"
:component="findDataPosition"
/>
<div v-else class="empty"></div>
</template>
<template v-else-if="props.type === defineTypeRecusive.SECTION">
<DynamicSection
@@ -53,18 +52,10 @@ const findDataPosition = computed(() => {
:content="findDataPosition.content ? JSON.parse(findDataPosition.content) : null"
:section="findDataPosition"
/>
<div v-else class="empty"></div>
</template>
<template v-else>
<div class="empty"></div>
</template>
</div>
</template>
<style lang="scss" scoped>
.empty {
min-height: 100px;
border-radius: 6px;
background: #409eff;
}
</style>