@sibat-gs/phone-auth-code
v1.0.0
Published
phone auth code
Downloads
1
Readme
/*
*@update 20210521
*@emits
* $emit('errorPhone', '手机号码错误'); // phone错误触发事件
* $emit('getCode') // 手机号码通过触发事件
*/
props: {
isLocal: {
// 本地存储
default: true,
type: Boolean,
},
phone: {
// 手机号码
required: true,
type: String,
},
delay: {
// 倒计时时间
type: Number,
default: 60,
},
},