This commit is contained in:
yanran200730
2021-12-22 11:30:34 +08:00
parent 2a23f72102
commit ffbe06071f
2 changed files with 6 additions and 5 deletions

View File

@@ -105,17 +105,19 @@
}, },
methods: { methods: {
changeArea (e) { changeArea () {
this.loading = true this.loading = true
this.search.current = 1 this.search.current = 1
this.getList()
this.$nextTick(() => {
this.getList()
})
}, },
getList () { getList () {
this.instance.post(`/app/appvillagepicturealbum/list`, null, { this.instance.post(`/app/appvillagepicturealbum/list`, null, {
params: { params: {
...this.search, ...this.search
areaId: this.areaId
} }
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {

View File

@@ -14,7 +14,6 @@
class="addressBook-left__list--search" class="addressBook-left__list--search"
size="mini" size="mini"
clearable clearable
clearable
placeholder="请输入地区名称" placeholder="请输入地区名称"
v-model="unitName" v-model="unitName"
suffix-icon="iconfont iconSearch"> suffix-icon="iconfont iconSearch">