thainv-dev
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user