v-xu-distpicker
v1.1.0
Published
A flexible, highly available district selector for picking provinces, cities and districts of China.
Downloads
2
Maintainers
Readme
原仓库提交的issues 由于原作者疏于维护,故自己fork 维护一份
V - Distpicker
Here is documents
Installation
npm i v-xu-distpicker --save
Or
yarn add v-xu-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.