this.HouseInfo.forEach(element => {
this.communityId = element.id;
console.log(this.communityId);
element.value = element.name;
element.label = element.name;
element.children = [];
});
//在下面调用
_getBuilding() {
list_building({
communityId: this.communityId
})
.then(res => {
console.log(res.data);
})
.catch(err => {});
},
handleItemChange(val) {
// this._getCommunityList();
this._getBuilding();
console.log(val);
// console.log(val);
},
MMMHUHU
ibeautiful
相关分类