phongdt:add id component

This commit is contained in:
Duong Truong Phong
2024-07-16 11:19:46 +07:00
parent 5a041acd54
commit 5f72a107ce
9 changed files with 18 additions and 7 deletions
@@ -8,6 +8,7 @@ const props = defineProps<{
dataQuery?: any;
layout?: string;
label?: any;
component?: any;
}>();
const LAYOUT_PARSE = computed(() => {
@@ -24,6 +25,7 @@ const parseData = computed(() => {
<template>
<article
:id="`cpn_${props.component.id}`"
class="basic-article border-custom"
:class="LAYOUT_PARSE['article_Class']"
:style="LAYOUT_PARSE['article']"