From 8deb5b417f4ce33e7efd4e9cf8267f5820678f8c Mon Sep 17 00:00:00 2001 From: wuKong Date: Sat, 9 Aug 2025 00:50:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(mp):=20=E4=BF=AE=E5=A4=8D=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=9B=BE=E6=96=87=E6=B6=88=E6=81=AF=E5=9B=BE=E7=89=87=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 wx-news 组件中,为 el-image 和 img 标签添加了备用图片属性 - 使用 article.thumbUrl作为 article.picUrl 的备用值,确保在 picUrl 为空时仍能显示图片 --- src/views/mp/components/wx-news/main.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/mp/components/wx-news/main.vue b/src/views/mp/components/wx-news/main.vue index 154291b3d..53b99bb18 100644 --- a/src/views/mp/components/wx-news/main.vue +++ b/src/views/mp/components/wx-news/main.vue @@ -13,7 +13,7 @@
@@ -29,7 +29,7 @@
{{ article.title }}
- +