FEATURE: 网站的基本前端服务 #2

Merged
remilia merged 41 commits from dev into master 2025-09-06 16:11:23 +08:00
46 changed files with 223 additions and 1918 deletions
Showing only changes of commit 0a31a1fa85 - Show all commits

View File

@ -95,9 +95,7 @@ onMounted(async () => {
production.value = {
...item,
}
console.log('Production details:', production.value)
}
console.log('Parsed production:', production.value?.production_specs)
} catch (error) {
console.error('Failed to fetch production:', error)
} finally {

View File

@ -48,7 +48,14 @@ const groupedProductions = computed(() => {
onMounted(async () => {
try {
const response = await find<Production>('productions', {
populate: '*',
populate: {
production_image: {
populate: '*',
},
production_type: {
populate: '*',
}
},
filters: {
show_in_production_list: {
$eq: true, // 只获取在产品列表中显示的产品