From 7cfb7304992773ce709e16fe04aea48fb204bdcc Mon Sep 17 00:00:00 2001 From: 24186 <2418639820@qq.com> Date: Thu, 2 May 2024 11:02:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E9=87=87=E6=A0=B7=E5=86=B2=E7=AA=81?= =?UTF-8?q?=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/ets/components/imageknife/utils/svg/SVGParseImpl.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets b/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets index 83abcbd..e403d55 100644 --- a/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets +++ b/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets @@ -36,7 +36,7 @@ export class SVGParseImpl implements IParseSvg { editable: true, desiredSize: defaultSize }; - if (request?.downsampType.getName()!==undefined && request?.downsampType.getName()!=='DownsampleNone') { + if (option?.downsampType.getName()!==undefined && option?.downsampType.getName()!=='DownsampleNone') { const b: ESObject = new Downsampler().calculateScaling(imageInfo, hValue, wValue, option) opts = { editable: true,