From 9902f9779a0dfb778184862eae67bea9e43c5b37 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Wed, 30 Nov 2022 09:47:23 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/components/searchResultList.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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]) " >