소스 검색

功能修复

guessPrice
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);
})

Loading…
취소
저장