diff --git a/src/components/renderer/RendererImage.js b/src/components/renderer/RendererImage.js
index b71adb6..c2a5e2f 100644
--- a/src/components/renderer/RendererImage.js
+++ b/src/components/renderer/RendererImage.js
@@ -102,7 +102,6 @@ function getParamInfo() {
choices: [
"矩形",
"圆形",
- "随机"
]
},
{
diff --git a/src/components/renderer/RendererResImage.js b/src/components/renderer/RendererResImage.js
index d12c434..f3c4887 100644
--- a/src/components/renderer/RendererResImage.js
+++ b/src/components/renderer/RendererResImage.js
@@ -9,16 +9,40 @@ function listPoints(qrcode, params) {
const nCount = qrcode.getModuleCount();
const typeTable = getTypeTable(qrcode);
const pointList = new Array(nCount);
+ let alignType = params[1];
+ let timingType = params[2];
let id = 0;
for (let x = 0; x < nCount; x++) {
for (let y = 0; y < nCount; y++) {
const posX = 3 * x, posY = 3 * y;
- if (typeTable[x][y] == QRPointType.ALIGN_CENTER || typeTable[x][y] == QRPointType.ALIGN_OTHER || typeTable[x][y] == QRPointType.TIMING) {
+ if (typeTable[x][y] == QRPointType.ALIGN_CENTER || typeTable[x][y] == QRPointType.ALIGN_OTHER) {
if (qrcode.isDark(x, y)) {
- pointList.push()
+ if (alignType === 2) {
+ pointList.push(