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
@@ -38,7 +38,7 @@ const _dataResult = computed(() => {
<template>
<div>
<div class="collection-container grid gap-5" :class="LAYOUT_PARSE['LAYOUT'] || 'horizontal'"
:style="`grid-template-columns: repeat(${Number(LAYOUT_PARSE['COLUMN'])}}, minmax(0, 1fr))`">
:style="`grid-template-columns: repeat(${LAYOUT_PARSE['COLUMN']}, minmax(0, 1fr))`">
<div v-for="(component, index) in _dataResult" :key="index">
<template v-if="!isEmpty(component)">
<DynamicComponent