Merge branch 'main' of http://work.gct.com.vn/minhnt/NSG_PORTAL_V2
This commit is contained in:
@@ -31,6 +31,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
|
||||
@@ -30,5 +30,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -37,5 +37,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -33,5 +33,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -32,5 +32,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -31,5 +31,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -31,6 +31,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
|
||||
@@ -30,5 +30,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -30,6 +30,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
|
||||
@@ -31,5 +31,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -36,5 +36,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -32,6 +32,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
|
||||
@@ -32,6 +32,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
|
||||
@@ -34,6 +34,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
|
||||
@@ -32,6 +32,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
|
||||
@@ -30,5 +30,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -29,6 +29,9 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicComponent[getCurrentComponent]" v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }" />
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
</template>
|
||||
../stocks/index
|
||||
@@ -32,6 +32,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings, content: _props.content }"
|
||||
/>
|
||||
|
||||
@@ -31,6 +31,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
|
||||
@@ -31,6 +31,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicComponent[getCurrentComponent]"
|
||||
:is="definedDynamicComponent[getCurrentComponent]"
|
||||
v-bind="{ ...GET_PROPS(), component: _props.component, settings: _props.settings }"
|
||||
/>
|
||||
|
||||
@@ -66,6 +66,7 @@ const GET_PROPS = computed(() => {
|
||||
<template>
|
||||
|
||||
<component
|
||||
v-if="definedDynamicSection[getCurrentSection]"
|
||||
:is="definedDynamicSection[getCurrentSection]"
|
||||
v-bind="{
|
||||
...GET_PROPS(),
|
||||
|
||||
@@ -33,7 +33,11 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
|
||||
<component
|
||||
v-if="definedDynamicSection[getCurrentSection]"
|
||||
:is="definedDynamicSection[getCurrentSection]"
|
||||
v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }"
|
||||
>
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
@@ -34,6 +34,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicSection[getCurrentSection]"
|
||||
:is="definedDynamicSection[getCurrentSection]"
|
||||
v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }"
|
||||
>
|
||||
|
||||
@@ -33,7 +33,11 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
|
||||
<component
|
||||
v-if="definedDynamicSection[getCurrentSection]"
|
||||
:is="definedDynamicSection[getCurrentSection]"
|
||||
v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }"
|
||||
>
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
@@ -36,7 +36,7 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
|
||||
<component v-if="definedDynamicSection[getCurrentSection]" :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
@@ -32,7 +32,11 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
|
||||
<component
|
||||
v-if="definedDynamicSection[getCurrentSection]"
|
||||
:is="definedDynamicSection[getCurrentSection]"
|
||||
v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }"
|
||||
>
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
@@ -34,6 +34,7 @@ const GET_PROPS = computed(() => {
|
||||
|
||||
<template>
|
||||
<component
|
||||
v-if="definedDynamicSection[getCurrentSection]"
|
||||
:is="definedDynamicSection[getCurrentSection]"
|
||||
v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }"
|
||||
>
|
||||
|
||||
@@ -33,7 +33,11 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicSection[getCurrentSection]" v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }">
|
||||
<component
|
||||
v-if="definedDynamicSection[getCurrentSection]"
|
||||
:is="definedDynamicSection[getCurrentSection]"
|
||||
v-bind="{ ...GET_PROPS(), section: _props.section, content: _props.content, settings: _props.settings }"
|
||||
>
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
@@ -44,7 +44,11 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicPageLayout[getCurrentLayout]" v-bind="GET_PROPS()">
|
||||
<component
|
||||
v-if="definedDynamicPageLayout[getCurrentLayout]"
|
||||
:is="definedDynamicPageLayout[getCurrentLayout]"
|
||||
v-bind="GET_PROPS()"
|
||||
>
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
@@ -32,7 +32,11 @@ const GET_PROPS = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="definedDynamicPage[getCurrentTemplate] || null" v-bind="{...(GET_PROPS()), settings: _props.settings}">
|
||||
<component
|
||||
v-if="definedDynamicPage[getCurrentTemplate]"
|
||||
:is="definedDynamicPage[getCurrentTemplate]"
|
||||
v-bind="{...(GET_PROPS()), settings: _props.settings}"
|
||||
>
|
||||
<slot />
|
||||
</component>
|
||||
</template>
|
||||
Reference in New Issue
Block a user