This commit is contained in:
KirisameVanilla 2025-09-15 15:16:48 +08:00
parent 5e45e039b3
commit d6db621f4d
No known key found for this signature in database
GPG Key ID: 7FC750F817277AC5
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ const router = createRouter({
})
// 路由守卫
router.beforeEach((to, from, next) => {
router.beforeEach((to, _, next) => {
const token = localStorage.getItem('access_token')
// 需要认证的页面

View File

@ -74,7 +74,7 @@
</div>
<div v-else-if="writingFeedback" class="space-y-4">
<div v-for="(section, key) in writingFeedback" :key="key" class="bg-white p-4 rounded">
<h4 class="mb-2 font-semibold text-blue-700">{{ getSectionTitle(key) }}</h4>
<h4 class="mb-2 font-semibold text-blue-700">{{ getSectionTitle(String(key)) }}</h4>
<div v-if="Array.isArray(section)">
<ul class="space-y-1 list-disc list-inside">
<li v-for="(item, index) in section" :key="index" class="text-gray-700 text-sm">