@sibat-gs/phone-auth-code

1.0.0 • Public • Published
/* 
 *@update 20210521
 *@emits
 *  $emit('errorPhone', '手机号码错误'); // phone错误触发事件
 *  $emit('getCode') // 手机号码通过触发事件
 */
props: {
    isLocal: {
      // 本地存储
      default: true,
      type: Boolean,
    },
    phone: {
      // 手机号码
      required: true,
      type: String,
    },
    delay: {
      // 倒计时时间
      type: Number,
      default: 60,
    },
  },

Readme

Keywords

none

Package Sidebar

Install

npm i @sibat-gs/phone-auth-code

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

3.37 kB

Total Files

3

Last publish

Collaborators

  • conquering3