thainv-dev: Fix
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 } 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(() => {
|
||||
|
||||
Reference in New Issue
Block a user