Fix: 优化请求结构

This commit is contained in:
2025-08-21 13:22:38 +08:00
parent 8944054609
commit 0a31a1fa85
2 changed files with 8 additions and 3 deletions

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, // 只获取在产品列表中显示的产品