From 59f70c9bc17a330a7fb632031ad7bbb23d9be6be Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Wed, 24 Jun 2020 13:38:59 +0800 Subject: [PATCH] =?UTF-8?q?SP=20=E2=80=94=203=20=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/renderer/RendererCircle.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/renderer/RendererCircle.js b/src/components/renderer/RendererCircle.js index b93d0bd..f670dde 100644 --- a/src/components/renderer/RendererCircle.js +++ b/src/components/renderer/RendererCircle.js @@ -57,7 +57,7 @@ function listPoints(qrcode, params) { } } if (ctn && qrcode.isDark(x + 1, y) && qrcode.isDark(x + 1, y + 2) && qrcode.isDark(x, y + 1) && qrcode.isDark(x + 2, y + 1)) { - g1.push() + g1.push() available[x + 1][y] = false; available[x][y + 1] = false; available[x + 2][y + 1] = false; @@ -82,14 +82,14 @@ function listPoints(qrcode, params) { } if (available[x][y] && y < nCount - 1) { if (qrcode.isDark(x, y) && qrcode.isDark(x, y + 1)) { - pointList.push() + pointList.push() available[x][y] = false; available[x][y + 1] = false; } } if (available[x][y] && x < nCount - 1) { if (qrcode.isDark(x, y) && qrcode.isDark(x + 1, y)) { - pointList.push() + pointList.push() available[x][y] = false; available[x + 1][y] = false; } @@ -99,7 +99,7 @@ function listPoints(qrcode, params) { pointList.push() } else if (typeTable[x][y] === QRPointType.DATA) { if (rand(0,1) > 0.8) { - g2.push() + g2.push() } } }