thainv-dev

This commit is contained in:
nguyen van thai
2024-07-05 09:45:00 +07:00
parent 554ceab3c6
commit 7bf902041e
21 changed files with 486 additions and 165 deletions
@@ -1,7 +1,7 @@
<script lang="ts" setup>
import type { PageSection } from "@/server/models/dynamic-page/index";
import { enumPageSectionKey } from "@/definitions/enum";
import { None_Section,Section__, Article_Section } from "./index";
import { None_Section,Category_Section, Article_Section } from "./index";
const _props = defineProps<{
settings?: any;
@@ -11,7 +11,7 @@ const _props = defineProps<{
const definedDynamicSection: Record<string, any> = {
[enumPageSectionKey.NONE]: None_Section,
[enumPageSectionKey.SECTION]: Section__,
[enumPageSectionKey.CATEGORY]: Category_Section,
[enumPageSectionKey.ARTICLE]: Article_Section,
};