1.0.1 • Published 6 years ago
z-verify v1.0.1
Install
npm install --save z-verify
Useage
use in the vue component
<template>
<div id="app">
<verify ref="verify"></verify>
</div>
</template>
<script>
import ZVerify from 'z-verify'
export default {
name: 'Test',
components: {
ZVerify
},
methods: {
checkVerify () {
if (this.$refs.verify.confirmSuccess === false) {
console.log('滑块验证不成功')
return false
}
}
}
}
</script>
<style></style>
License
copyright © 2019 zhaizhaohui