From 6bfc147b865c1ce744628f4b188ec7cf7340e99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Sat, 18 Oct 2025 16:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=91=E5=AE=9A=E6=88=BF?= =?UTF-8?q?=E6=BA=90=E5=88=87=E6=8D=A2=E5=9F=8E=E5=B8=82=E4=B9=8B=E5=90=8E?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/community/choseCommunity/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) 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; },