Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

hooray/vue-clicaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-clicaptcha

安装

1. 安装 vue-clicaptcha

npm install vue-clicaptcha

2. 部署后端环境

移步至 clicaptcha-server 项目

使用

import VueClicaptcha from 'vue-clicaptcha'
VueClicaptcha({
    src: 'http://localhost/clicaptcha.php',  // 后端地址
    success: '验证成功!',  // 成功提示,默认为“验证成功!”
    error: '未点中正确区域,请重试!',  // 错误提示,默认为“未点中正确区域,请重试!”
    callback: () => {
        // 校验成功后执行后续业务
    }
});

预览效果

About

中文点击验证码插件,原型为 clicaptcha : https://github.com/hooray/clicaptcha

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •