fixed catalog

This commit is contained in:
Edward Yang 2022-08-04 14:51:32 +08:00
parent a294e2cf04
commit be240bb21a
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class DesignService
} }
foreach ($images as $index => $image) { foreach ($images as $index => $image) {
$imagePath = 'catalog/' . ($image['image'][locale()] ?? ''); $imagePath = $image['image'][locale()] ?? '';
$images[$index]['image'] = image_origin($imagePath); $images[$index]['image'] = image_origin($imagePath);
$link = $image['link']; $link = $image['link'];