diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index 49d479a0..87591a36 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -69,11 +69,11 @@ class="left" style="display: flex; align-items: center" v-else-if=" - (item.type === '组件服务' && - item.infoList && - item.infoList.filter((val) => val.attrType == '图层缩略图')[0]) || - item.infoList.filter((val) => val.attrType == '组件图片')[0] || - item.infoList.filter((val) => val.attrType == '算法效果图片')[0] + item.type === '组件服务' && + item.infoList && + (item.infoList.filter((val) => val.attrType == '图层缩略图')[0] || + item.infoList.filter((val) => val.attrType == '组件图片')[0] || + item.infoList.filter((val) => val.attrType == '算法效果图片')[0]) " >