//获取下拉框选中的值
// getNameById(id){
// var aaaa = ‘’;
// [].forEach.call(this.options1, function(item,index){
// if(id == item.id){
// aaaa = item.nickname;
// }
// });
// return aaaa;
// },
changeValue(index) {
this.city_id = index;
console.log(this.city_id )
// var selectItem = this.getNameById(index); //获取选中的下标
getCountyLists(this.city_id).then(res => {
this.getOrganizeList = res.data.data;
});
}
},
watch: {
value(e) {
this.changeValue(e);
}
}