Skip to content

chenPromise/vuec-msgcode-input

Repository files navigation

vuec-msgcode-input

这是一个验证码分块输入框 验证码输入框

使用方法

# 安装
# npm install vuec-msgcode-input

# 使用
# import vuecMsgcodeInput from 'vuec-msgcode-input'

# 传入参数
参数一 
    作用 输入完成时要执行的 回调
    参数名 inputSuccess
    类型 function
    
参数二 
    作用 验证码的个数
    参数名 codeLength
    类型 number
    
参数二 
    作用 组件挂载时 是否得到焦点
    参数名 initialFocus
    类型 Boolean

我的第一个第三方组件封装 经历参考 http://www.uxys.com/html/Vue/20190214/26810.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published