1.1.0 • Published 4 years ago
vue-vehicle-plate v1.1.0
vue-vehicle-plate
基于H5项目的一个车牌号码输入组件,支持新能源车牌号输入
A vehicle license plate number keyboard
requirement
vue2.x
Install
NPM
$ npm install vue-vehicle-plate --save
yarn
$ yarn add vue-vehicle-plate
Usage
import VueVehiclePlate from "./vue-vehicle-plate";
Vue.use(VueVehiclePlate);
props
Props Name | Type's | Default | Description |
---|---|---|---|
initValue | String | "" | 绑定的表单值,例如:‘川A’,只检验前两位正确性并过滤‘·’ |
limitProvince | String | "" | 限制省份列表,不用间隔,不限制则为全部省份可选 |
limitCity | String | "" | 限制城市列表, 不用间隔,不限制则为全部城市可选 |