vue v-distpicker省市区三级联动(几级可以设置)

使用简单,兼容性好(我测的可兼容ie9)
官网:https://distpicker.pigjian.com/

安装

npm install v-distpicker --save

注册全局组件

import VDistpicker from 'v-distpicker'
Vue.component('v-distpicker', VDistpicker)

注册局部组件

import VDistpicker from 'v-distpicker'

export default {
  components: { VDistpicker }
}

代码
html


js


css(不要scoped,不然不生效)


你可能感兴趣的:(vue v-distpicker省市区三级联动(几级可以设置))