0.0.6 • Published 6 years ago

zk-distpicker v0.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

zk-distpicker

详情见原始文档

基于v-distpicker开发的省市选择器,把四个直辖市名称由xx城区直接改成xx市(如:北京市->北京城区->东城区 => 北京市->北京市->东城区)

安装

npm install zk-distpicker --save

你需要做的是

把所有import xxx from 'v-distpicker'改成import xxx from 'zk-distpicker'

Register component

Registe global component:

import Distpicker from 'zk-distpicker'

Vue.component('zk-distpicker', Distpicker)

Registe component:

import VDistpicker from 'zk-distpicker'

export default {
  components: { VDistpicker }
}

Thanks

License

The plugin is open-sourced software licensed under the MIT license.