安装:npm i v-distpicker --save
使用:

<!--三级联动-->
  <div class="address" v-show="popupVisible">
      <v-distpicker class="picker" type="mobile" @selected='selected'>
      </v-distpicker>
  </div>

//选择area
selected(data){
     console.log(data);
     this.popupVisible = false;
     this.agentArea = data.province.value + data.city.value + data.area.value
 },
Logo

前往低代码交流专区

更多推荐