Fix: 调整Strapi类型
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user