diff --git a/packages/community/choseCommunity/index.vue b/packages/community/choseCommunity/index.vue index f76e8104..01ac822f 100644 --- a/packages/community/choseCommunity/index.vue +++ b/packages/community/choseCommunity/index.vue @@ -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; },