From d161defcfc7453edd78a059d88f5b8b37ab48aca Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Fri, 26 Jun 2026 14:57:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(PreviewImg):=20=E4=BF=AE=E6=AD=A3=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将Image组件的样式属性由wrapperStyle改为styles - 更新styles属性值结构,添加root对象包裹样式 - 修正样式生效问题,确保图片边距正确显示 --- src/components/PreviewImg/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PreviewImg/index.js b/src/components/PreviewImg/index.js index 2b4d10a..58a444a 100644 --- a/src/components/PreviewImg/index.js +++ b/src/components/PreviewImg/index.js @@ -16,7 +16,7 @@ const PreviewImg = (props) => {