From ffbe06071fa06073deabcadae88b5b4136cd6362 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 22 Dec 2021 11:30:34 +0800 Subject: [PATCH] 25582 --- packages/3.0.0/AppVillageAlbum/components/List.vue | 10 ++++++---- .../3.0.0/AppVillageAuxiliarPolice/components/List.vue | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/3.0.0/AppVillageAlbum/components/List.vue b/packages/3.0.0/AppVillageAlbum/components/List.vue index 1d236c6d..1ae1a895 100644 --- a/packages/3.0.0/AppVillageAlbum/components/List.vue +++ b/packages/3.0.0/AppVillageAlbum/components/List.vue @@ -105,17 +105,19 @@ }, methods: { - changeArea (e) { + changeArea () { this.loading = true this.search.current = 1 - this.getList() + + this.$nextTick(() => { + this.getList() + }) }, getList () { this.instance.post(`/app/appvillagepicturealbum/list`, null, { params: { - ...this.search, - areaId: this.areaId + ...this.search } }).then(res => { if (res.code == 0) { diff --git a/packages/3.0.0/AppVillageAuxiliarPolice/components/List.vue b/packages/3.0.0/AppVillageAuxiliarPolice/components/List.vue index 74736d93..43a76483 100644 --- a/packages/3.0.0/AppVillageAuxiliarPolice/components/List.vue +++ b/packages/3.0.0/AppVillageAuxiliarPolice/components/List.vue @@ -14,7 +14,6 @@ class="addressBook-left__list--search" size="mini" clearable - clearable placeholder="请输入地区名称" v-model="unitName" suffix-icon="iconfont iconSearch">