添加默认图片

This commit is contained in:
gongjiale 2023-01-10 13:56:56 +08:00
parent 3906b9ea0f
commit bc5ee885e0
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<div class="caseBox" v-for="(item, index) in caseList" :key="index" @click="toView(item)">
<a-image :preview="false" style="width:300px;height:200px" :src="
item.fuseAttrList.filter((val) => val.attrType == '服务图片')[0]
.attrValue
.attrValue || imgSrcYyzy
" />
<h3>{{ item.name }}</h3>
<p>发布时间 {{ item.createDate }}</p>
@ -30,7 +30,7 @@ const props = defineProps({
default: '组件服务',
},
})
const imgSrcYyzy = ref(require('@/assets/home/fn/cjtd.png'))
const orderArray = ref([
{
value: 'create_date',