this.$hideLoading()

This commit is contained in:
花有清香月有阴
2022-01-18 10:05:35 +08:00
parent b661481877
commit ffe3eb79f0
3 changed files with 25 additions and 76 deletions

View File

@@ -147,22 +147,11 @@ export default {
},
getUserList() {
uni.showLoading({
title: '加载数据中',
this.$http.post(`/app/appepidemicreportmember/statistic?areaId=${this.areaId}`).then((res) => {
if (res.code == 0) {
this.userList = res.data
}
})
this.$http
.post(`/app/appepidemicreportmember/statistic?areaId=${this.areaId}`)
.then((res) => {
if (res.code == 0) {
this.userList = res.data
uni.hideLoading()
} else {
uni.hideLoading()
}
})
.catch(() => {
uni.hideLoading()
})
},
goDetail(item) {