diff --git a/src/mods/conv/AppPhotoReport/AppPhotoReport.vue b/src/mods/conv/AppPhotoReport/AppPhotoReport.vue index a365e13..f01b8af 100644 --- a/src/mods/conv/AppPhotoReport/AppPhotoReport.vue +++ b/src/mods/conv/AppPhotoReport/AppPhotoReport.vue @@ -61,20 +61,15 @@ export default { ...mapState(['user']) }, + onShow() { + this.current = 1 + this.isMore = false + this.getList() + }, onLoad() { this.$loading() - this.$dict.load(['clapEventStatus']).then(() => { - this.getList() - }) - - uni.$on('update', () => { - this.current = 1 - this.isMore = false - - this.getList() - }) + this.$dict.load(['clapEventStatus']) }, - methods: { toReport() { this.$linkTo('./PhotoForm') @@ -137,7 +132,6 @@ export default { }).catch(() => 0) } }, - onReachBottom() { this.getList() } diff --git a/src/project/fengdu/AppPhotoReport/AppPhotoReport.vue b/src/project/fengdu/AppPhotoReport/AppPhotoReport.vue index 2a9a3d3..a6404c1 100644 --- a/src/project/fengdu/AppPhotoReport/AppPhotoReport.vue +++ b/src/project/fengdu/AppPhotoReport/AppPhotoReport.vue @@ -61,20 +61,15 @@ export default { ...mapState(['user']) }, + onShow() { + this.current = 1 + this.isMore = false + this.getList() + }, onLoad() { this.$loading() - this.$dict.load(['clapEventStatus']).then(() => { - this.getList() - }) - - uni.$on('update', () => { - this.current = 1 - this.isMore = false - - this.getList() - }) + this.$dict.load(['clapEventStatus']) }, - methods: { toReport() { this.$linkTo('./PhotoForm') @@ -137,7 +132,6 @@ export default { }).catch(() => 0) } }, - onReachBottom() { this.getList() }