1.0.1 • Published 6 years ago

vue-select-multi v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

vue-select

vue2.0 弹层选择

:d-list // 传入的数据 :max // 传入可选择的最大值 :checkbox-left // 传入选择框是否居左 :tips // 传入标题

<vue-select ref="vueSelect" :d-list="dList" :max="dList.length-1" :tips="'xxx'" :checkbox-left="false" @on-confirm="getInfo"></vue-select>
methods: {
  openChecklist () {
      this.$refs.vueSelect.show();
  },
  getInfo (val) {
      this.addressInfo = val;
      console.log('点击确定后',this.addressInfo);
  }
}
1.0.1

6 years ago

1.0.0

6 years ago