thainv-dev: Fix

This commit is contained in:
nguyen van thai
2024-07-03 15:33:51 +07:00
parent ee5c6f40f1
commit 554ceab3c6
36 changed files with 1033 additions and 231 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 } from "./index";
import { None_Section,Section__, Article_Section } from "./index";
const _props = defineProps<{
settings?: any;
@@ -11,6 +11,8 @@ const _props = defineProps<{
const definedDynamicSection: Record<string, any> = {
[enumPageSectionKey.NONE]: None_Section,
[enumPageSectionKey.SECTION]: Section__,
[enumPageSectionKey.ARTICLE]: Article_Section,
};
const getCurrentSection = computed(() => {