vue-grid-verify
v1.0.3
Published
基于vue,一个前端验证码插件;可验证中文语义、颜色、九宫格定位以及鼠标事件
Downloads
8
Readme
一个vue验证码插件,可验证九宫格定位,图形识别,语义识别,颜色识别以及用户鼠标操作行为
用例
# 安装依赖
npm i vue-grid-verify
<!--验证模式,默认position,可选shape,使用图形验证-->
<vueGridVerify @result="getResult" mode="shape" />
import vueGridVerify from 'vue-grid-verify'
methods:{
getResult(result){
console.log(result)
// 返回验证结果
}
}