From 45be0a84fdb7c88193b3a664f9be71b22b56f473 Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Wed, 23 Aug 2023 18:27:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/house/house.vue | 5 ++++- pages/index/index.vue | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/house/house.vue b/pages/house/house.vue index a94f617..3c5b10b 100644 --- a/pages/house/house.vue +++ b/pages/house/house.vue @@ -256,7 +256,10 @@ }) }, onSearch(text) { - this.list = [] + this.list = []; + this.$refs.waterfall.clear(); + this.list1 = []; + this.list2 = []; this.page = 1 console.log('extentScene: ', this.where.extentScene); if (text == '0-100㎡') { diff --git a/pages/index/index.vue b/pages/index/index.vue index 0448afa..26764e0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -221,7 +221,10 @@ this.onSearch() }, onSearch() { - this.list = [] + this.list = []; + this.$refs.waterfall.clear(); + this.list1 = []; + this.list2 = []; this.page = 1 this.onRefreshList() // this.$push('/sub_pages/member/member', this.where)