bug
This commit is contained in:
@@ -212,7 +212,7 @@ export default {
|
|||||||
uni.$emit('updateDetail')
|
uni.$emit('updateDetail')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
}, 800)
|
}, 600)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -119,9 +119,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
uni.showLoading({
|
|
||||||
title: '加载数据中',
|
|
||||||
})
|
|
||||||
this.$http
|
this.$http
|
||||||
.post('/app/appepidemicreportmember/list', null, {
|
.post('/app/appepidemicreportmember/list', null, {
|
||||||
params: { size: this.size, current: this.current, status: this.currentTabs == 1 ? '0' : '', areaId: this.areaId, name: this.keyword },
|
params: { size: this.size, current: this.current, status: this.currentTabs == 1 ? '0' : '', areaId: this.areaId, name: this.keyword },
|
||||||
@@ -129,14 +126,10 @@ export default {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
|
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
|
||||||
uni.hideLoading()
|
|
||||||
} else {
|
} else {
|
||||||
uni.hideLoading()
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {})
|
||||||
uni.hideLoading()
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getUserList() {
|
getUserList() {
|
||||||
|
|||||||
Reference in New Issue
Block a user