puzzle-vue3
v1.0.2
Published
Puzzle for Vue3.js
Downloads
5
Maintainers
Readme
Hello Every
This is a verify component about vue,it's support vue2 and vue3,look next:
Hope to provide some help for you
嗨 你好
这是一个基于vue的拼图验证组件,它目前提供了两个版本:
希望能给你提供一些帮助
online example
props 属性
| name | type | default value | | ---- | ---- | ---- | | width | Number | 300 | | height | Number | 150 | | offsetDistance | Number | 10 | | img | String | "a free img url" | | errorRetry | Boolean | true | | successText | String | "校验成功" | | failText | String | "校验失败" |
Emit event
emit('complete',"success" || "fail")