修改绑定房源切换城市之后的数据展示逻辑
This commit is contained in:
parent
770d53a51b
commit
6bfc147b86
@ -189,6 +189,13 @@ export default {
|
||||
region: val.confirmDist.ad_name.split(",").join(""),
|
||||
...val.confirmDist,
|
||||
};
|
||||
// 切换城市后重置step为1
|
||||
this.step = "1";
|
||||
// 重置选中状态
|
||||
this.selectedFloorIndex = -1;
|
||||
this.selectedRoomIndex = -1;
|
||||
this.selectedFinalRoomIndex = -1;
|
||||
// 调用搜索方法加载对应城市的数据
|
||||
this.searchByName();
|
||||
this.show = false;
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user