BUG 56
This commit is contained in:
@@ -47,7 +47,6 @@ export default {
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
this.getList()
|
||||
},
|
||||
@@ -56,11 +55,12 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http.post(`/app/appconflicteventinfo/list`, null, {params: {size: 10, current: this.current}}).then((res) => {
|
||||
this.$http.post(`/app/appconflicteventinfo/list`, null, {
|
||||
params: {size: 10, current: this.current, girdMemberId: this.user.girdMemberId}
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||
this.pages = res.data.pages
|
||||
this.$forceUpdate()
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -68,6 +68,10 @@ export default {
|
||||
uni.navigateTo({url: `./detail?id=${item.id}&isMine=1`})
|
||||
},
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current++
|
||||
this.getList()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user