sui 5 роки тому
джерело
коміт
2432c2fa11
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      496_dongfengqichen/utils/mcaptcha.js

+ 1
- 1
496_dongfengqichen/utils/mcaptcha.js Переглянути файл

@@ -31,7 +31,7 @@ module.exports = class Mcaptcha {
let deg = this.randomNum(-30, 30);
this.ctx.translate(dis, this.options.height * 0.5);
this.ctx.rotate(deg * Math.PI / 180);
this.ctx.fillText(item, 0, 0);
this.ctx.fillText(item, 0, 3);
this.ctx.rotate(-deg * Math.PI / 180);
this.ctx.translate(-dis, -this.options.height * 0.5);
})

Завантаження…
Відмінити
Зберегти