From 999a61c7a0248fd2a8edb4babb4aea5d18e402f8 Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Wed, 20 May 2020 22:16:28 +0800 Subject: [PATCH] =?UTF-8?q?C2=20=E6=A0=B7=E5=BC=8F=E5=B1=80=E9=83=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/renderer/RendererResImage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/renderer/RendererResImage.js b/src/components/renderer/RendererResImage.js index 6920211..345ec6b 100644 --- a/src/components/renderer/RendererResImage.js +++ b/src/components/renderer/RendererResImage.js @@ -167,7 +167,7 @@ const RendererResImage = ({qrcode, params, setParamInfo}) => { const [gpl, setGPL] = useState([]); useMemo(() => { getGrayPointList(params, qrcode.getModuleCount(), "#S-black", "#S-white").then(res => setGPL(res)); - }, [setGPL, params, qrcode]) + }, [setGPL, params[0], params[1], params[2], qrcode]) return (