feat: production页的CMS变更

This commit is contained in:
2025-10-15 16:49:08 +08:00
parent 98f978484c
commit 1704a7b5c1
5 changed files with 202 additions and 94 deletions

View File

@ -3,9 +3,9 @@
<el-collapse class="question-collapse" accordion>
<el-collapse-item
v-for="question in questions"
:key="question.documentId"
:key="question.id"
:title="question.title"
:name="question.documentId"
:name="question.id"
>
<markdown-renderer :content="question.content || ''" />
</el-collapse-item>
@ -16,11 +16,7 @@
<script setup lang="ts">
defineProps({
questions: {
type: Array as () => Array<{
title: string;
content: string;
documentId: string;
}>,
type: Array as PropType<QuestionView[]>,
default: () => [],
},
});