Browse Source

功能修复

guessPrice
sui 5 years ago
parent
commit
2432c2fa11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      496_dongfengqichen/utils/mcaptcha.js

+ 1
- 1
496_dongfengqichen/utils/mcaptcha.js View File

let deg = this.randomNum(-30, 30); let deg = this.randomNum(-30, 30);
this.ctx.translate(dis, this.options.height * 0.5); this.ctx.translate(dis, this.options.height * 0.5);
this.ctx.rotate(deg * Math.PI / 180); 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.rotate(-deg * Math.PI / 180);
this.ctx.translate(-dis, -this.options.height * 0.5); this.ctx.translate(-dis, -this.options.height * 0.5);
}) })

Loading…
Cancel
Save