|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="flex py-10 border-b space-x-10" @click="navigateToDetail">
|
|
|
<image
|
|
|
- :src="itemData.homeHotPicturesAfterConvert[0]"
|
|
|
+ :src="itemData.homeHotPicturesAfterConvert ? itemData.homeHotPicturesAfterConvert[0] : defaultImage"
|
|
|
mode="widthFix"
|
|
|
class="w-108 h-114 shrink rounded-lg overflow-hidden"
|
|
|
/>
|
|
@@ -42,6 +42,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import defaultImage from '../../../static/empty.png';
|
|
|
const props = defineProps({
|
|
|
itemData: {
|
|
|
type: Object,
|