diff --git a/src/components/renderer/RendererResImage.js b/src/components/renderer/RendererResImage.js index 054dde1..b6bc6f5 100644 --- a/src/components/renderer/RendererResImage.js +++ b/src/components/renderer/RendererResImage.js @@ -168,7 +168,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 (