diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index db9ced7a..9d40a781 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -37,7 +37,7 @@ :class=" item.type == '应用资源' ? 'yyzy' - : item.type == '数据资源' + : !item.type ? 'sjzy' : item.infoList && item.infoList.filter((val) => val.attrType == '组件类型')[0]