thainv-dev: Fix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { Article_Section_Default } from "./index";
|
||||
import { Article_Section_Default, Article_Detail } from "./index";
|
||||
import type { PageSection } from "@/server/models/dynamic-page/index";
|
||||
import { enumPageSectionKey, enumPageSectionTemplate } from "@/definitions/enum";
|
||||
|
||||
@@ -11,6 +11,7 @@ const _props = defineProps<{
|
||||
|
||||
const definedDynamicSection: Record<string, any> = {
|
||||
[enumPageSectionTemplate[enumPageSectionKey.ARTICLE]['DEFAULT']]: Article_Section_Default,
|
||||
[`${enumPageSectionTemplate[enumPageSectionKey.ARTICLE]["DETAIL"]}`]: Article_Detail,
|
||||
};
|
||||
|
||||
const getCurrentSection = computed(() => _props.settings.template);
|
||||
|
||||
Reference in New Issue
Block a user