1.0.1 • Published 4 years ago

phoneverification v1.0.1

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

verification

移动端验证码组件

插件的安装

NPM

npm i phoneverification

引入插件

import Vue from 'vue';
import verification from 'phoneverification';

Vue.use(verification);

API

参数说明类型默认值
number验证码位数number6
cipher是否使用密文Booleanfalse
dialog是否使用弹框模式Booleanfalse
visible弹框模式下的显示隐藏(弹框模式下必填)Booleanfalse
title标题String-
desc描述String-

Event

事件名说明参数
ok完成填写验证码的回调password
resend点击重新发送验证码回调-
cancel关闭弹框回调-

author

zongriyue