1.0.1 • Published 6 years ago

z-verify v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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

1.0.1

6 years ago

1.0.0

6 years ago