puzzle-vue2
v1.0.8
Published
This is a verify component about vue,it's support vue2 and vue3,look next:
Downloads
20
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 | | errorRetry | Boolean | true | | img | String | "a free img url" | | offsetDistance | Number | 10 | | successText | String | "校验成功" | | failText | String | "校验失败" |
Emit event
emit("complete", "success" || "fail");