captcha 验证码调用方法
1、git连接https://github.com/saucxs/captcha-mini /*不传值,统一走默认值*/ let captcha1 = new CaptchaMini(); captcha1.draw(document.querySelector('#captcha1'), r => { console.log(r, '验证码1'); });/*传值,参数配置值,选择性配置*/ let captcha2 = new CaptchaM
原创
2021-02-25 16:29:15 ·
1137 阅读 ·
0 评论