*
{{ !!form.area ? form.area : '请选择所在地区' }}
data() {
return {
form: {
area: ''
},
arr: [],
show: false
};
},
methods: {
cancel(e) {
},
change() {
this.show = true;
},
confirm(e) {
// 省市区拼接
this.form.area = e.province.label + '-' + e.city.label + '-' + e.area.label;
this.arr[0] = e.province.value;
this.arr[1] = e.city.value;
this.arr[2] = e.area.value;
},
reset() {
this.form.area = '';
this.arr = [];
}
}