This commit is contained in:
花有清香月有阴
2021-12-24 19:25:32 +08:00
parent dab536a369
commit 7e6fcbc53a
2 changed files with 6 additions and 5 deletions

View File

@@ -78,6 +78,11 @@ export default {
this.$dict.load(['villageActivityStatus']).then(() => { this.$dict.load(['villageActivityStatus']).then(() => {
this.getList() this.getList()
}) })
uni.$on('updateList', () => {
this.current = 1
this.getList()
})
}, },
onShow() { onShow() {
document.title = '居民活动' document.title = '居民活动'

View File

@@ -15,7 +15,7 @@
<div class="right"> <div class="right">
<img :src="user.avatar" alt="" v-if="user.avatar" /> <img :src="user.avatar" alt="" v-if="user.avatar" />
<span>{{ user.name }}</span> <span>{{ detail.contactPerson }}</span>
</div> </div>
</div> </div>
@@ -146,10 +146,6 @@ export default {
uni.$on('refresh', () => { uni.$on('refresh', () => {
this.getListInit() this.getListInit()
}) })
uni.$on('updateList', () => {
this.getDetail()
})
}, },
onShow() { onShow() {
document.title = '活动报名' document.title = '活动报名'