0.1.5 • Published 2 years ago

@marshal93/vc-car-license v0.1.5

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

CarLicense

车牌号录入 vue2.x 组件

INSTALL

npm i @marshal93/vc-car-license -S

Usage

import Vue from 'vue';
import VcCarLicense from '@marshal93/vc-car-license';

// 挂载到全局组件
Vue.use(VcCarLicense)

// 获取省份 + 车牌号
const getValue = this.$refs.carLicenseRef.getValue()

<VcCarLicense
  provinceNameProps=""
  carNumberProps=""
  placeholder="请选择"
  ref='carLicenseRef'
  closeButtonText='关闭'
  isDisabled='false'
/>

API

属性说明是否必填数据类型类型默认值
provinceNameProps车牌省名称falsestring''
carNumberProps车牌数字部分falsestring''
placeholderplaceholderfalsestring''
closeButtonText右上角关闭按钮文案falsestring'关闭'
isDisabled是否不可点击falsebooleanfalse
0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago