Fix: 调整Strapi类型

This commit is contained in:
2025-08-18 12:04:32 +08:00
parent 631146eeb8
commit 5f0d13c122
3 changed files with 16 additions and 11 deletions

View File

@ -97,7 +97,6 @@ onMounted(async () => {
populate: '*',
locale: strapiLocale,
})
if (response.data) {
const item = response.data
production.value = {
@ -108,7 +107,7 @@ onMounted(async () => {
production_specs: item.production_specs,
production_image: item.production_image,
documentId: item.documentId,
}
documents: item.documents || [] }
}
} catch (error) {
console.error('Failed to fetch production:', error)