You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
林华焜
b6f8f922cf
|
4 years ago | |
---|---|---|
.. | ||
dist | 4 years ago | |
node_modules | 4 years ago | |
src | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
package.json | 4 years ago |
README.md
A flexible, highly available district selector for picking provinces, cities and districts of China.
V - Distpicker
Here is documents
Installation
npm install v-distpicker --save
Or
yarn add v-distpicker --save
Usage
Register component
Registe global component:
import Distpicker from 'v-distpicker'
Vue.component('v-distpicker', Distpicker)
Registe component:
import VDistpicker from 'v-distpicker'
export default {
components: { VDistpicker }
}
How to use
Basic:
<v-distpicker></v-distpicker>
Default Value:
<v-distpicker province="广东省" city="广州市" area="海珠区"></v-distpicker>
Mobile:
<v-distpicker type="mobile"></v-distpicker>
Contributors
Thanks
License
The plugin is open-sourced software licensed under the MIT license.