浏览代码

功能修复

guessPrice
sui 5 年前
父节点
当前提交
2432c2fa11
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      496_dongfengqichen/utils/mcaptcha.js

+ 1
- 1
496_dongfengqichen/utils/mcaptcha.js 查看文件

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

正在加载...
取消
保存