@msbfe/captcha
v1.0.7
Published
```javascript import MSB_CAPTCHA from '@msbfe/captcha'
Downloads
1
Readme
获取验证码时的校验插件
import MSB_CAPTCHA from '@msbfe/captcha'
MSB_CAPTCHA({
env: 'test',
// elIdName:当前项目内某个元素id,非必传(建议传)
elIdName: 'msbOriginId',
// 手机号&平台类型
params: {
phone: 18008489017,
type: 1
}
}).then(res => {
console.log("success====", res)
}).catch(err => {
console.error("fail====", err)
})