Package Exports
- @elevenmonkey/slideverify
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@elevenmonkey/slideverify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
slidevertify
A slidevertify plugin for vue
安装插件
npm install slideverify引入插件
import slideVerify from 'slideverify'
Vue.use(slideVerify)用法
用法1
this.$slideVerify.open({
showClose:true,
sliderText:'快拖我呀!',
cancel:()=>{
console.log('取消验证')
},
success:() => {
alert('验证成功');
}
})用法2
import { slideVerify } from 'slideverify'
slideVerify.open({
showClose:false,
success:() => {v
alert('验证成功');
}
})