diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue index e4ef303a..47d6b958 100644 --- a/front/src/views/capacitySquare/components/algorithm.vue +++ b/front/src/views/capacitySquare/components/algorithm.vue @@ -106,7 +106,8 @@ const algorithmCardPhoto = (item) => { if(item.pic && typeof item.pic == 'string') { _arr = JSON.parse(item.pic) } - let _img = _arr[0] && _arr[0].img || '' + let _img = _arr[0] && _arr[0].img || imgSrc.value; + console.log('_img------------>', _img); return _img } //跳转详情页 diff --git a/front/src/views/capacitySquare/components/layer.vue b/front/src/views/capacitySquare/components/layer.vue index d7b03a79..14c36e0e 100644 --- a/front/src/views/capacitySquare/components/layer.vue +++ b/front/src/views/capacitySquare/components/layer.vue @@ -30,7 +30,7 @@
-