phongdt:add id component
This commit is contained in:
@@ -10,6 +10,7 @@ const props = defineProps<{
|
||||
dataQuery?: any;
|
||||
layout?: string;
|
||||
label?: any;
|
||||
component?: any;
|
||||
}>();
|
||||
|
||||
const LAYOUT_PARSE = computed(() => {
|
||||
@@ -27,6 +28,7 @@ const parseData = computed(() => {
|
||||
<template>
|
||||
<article
|
||||
v-if="parseData"
|
||||
:id="`cpn_${props.component.id}`"
|
||||
class="basic-article border-custom"
|
||||
:class="LAYOUT_PARSE['article_Class']"
|
||||
:style="LAYOUT_PARSE['article']"
|
||||
|
||||
Reference in New Issue
Block a user