From bfc285ff57ed7174b36c61b43bff003c915ece9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Tue, 12 Aug 2025 11:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E6=88=BF?= =?UTF-8?q?=E4=BA=A7=E9=80=89=E6=8B=A9=E6=88=BF=E4=BA=A7=E6=98=AF=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/community/choseCommunity/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/community/choseCommunity/index.vue b/packages/community/choseCommunity/index.vue index c87a4fb9..abe7c359 100644 --- a/packages/community/choseCommunity/index.vue +++ b/packages/community/choseCommunity/index.vue @@ -259,12 +259,13 @@ export default { this.fName = this.step == 4 ? this.fName : this.facilityName ? item.label : ""; await request(apiArr.commRoomSelect, "POST", { - community_ids: item.community_id ? item.community_id : this.communityId, - facility_names: this.facilityName, + community_ids: [item.community_id ? item.community_id : this.communityId], + facility_names: this.facilityName ? [this.facilityName] : [], + floors: this.facilityName ? this.facilityName == this.fName ? "" - : item.label + : [item.label] : "", }).then((res) => { // 对楼层数据进行从大到小排序 @@ -339,7 +340,7 @@ export default { //选择楼栋 getRoomSelect() { request(apiArr.commRoomSelect, "POST", { - community_ids: this.currentCommunity.community_id, + community_ids: [this.currentCommunity.community_id], }).then((res) => { console.log(res); this.step = 2;