This commit is contained in:
liuye
2021-12-24 10:57:01 +08:00
parent 6e04471f59
commit 8957d5ab0d
3 changed files with 7 additions and 0 deletions

View File

@@ -39,6 +39,9 @@ export default {
this.areaName = this.user.areaName
this.getList()
uni.setNavigationBarTitle({title: '乡村相册'})
uni.$on('updateList', () => {
this.getList()
})
},
methods: {

View File

@@ -117,6 +117,7 @@ export default {
if (res.code == 0) {
this.flag = false
this.$u.toast('提交成功')
uni.$emit('updateList')
setTimeout(() => {
uni.navigateBack()
}, 600)

View File

@@ -35,6 +35,9 @@ export default {
mounted() {
this.getList()
uni.setNavigationBarTitle({title: '便民通讯录'})
uni.$on('updateList', () => {
this.getList()
})
},
methods: {