From e29e0f0526d1092ede2fbc9dace3e47c5d6ecad6 Mon Sep 17 00:00:00 2001 From: guoyue Date: Thu, 27 Oct 2022 13:50:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=97=E6=B3=95=E5=B9=BF=E5=9C=BA=E5=92=8C?= =?UTF-8?q?=E8=83=BD=E5=8A=9B=E5=B9=BF=E5=9C=BA=E5=AE=B9=E9=94=99=E5=A4=84?= =?UTF-8?q?=E7=90=86pic=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/capacitySquare/components/algorithm.vue | 3 ++- front/src/views/capacitySquare/components/layer.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 @@
-