bug
This commit is contained in:
@@ -39,6 +39,9 @@ export default {
|
||||
this.areaName = this.user.areaName
|
||||
this.getList()
|
||||
uni.setNavigationBarTitle({title: '乡村相册'})
|
||||
uni.$on('updateList', () => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -117,6 +117,7 @@ export default {
|
||||
if (res.code == 0) {
|
||||
this.flag = false
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('updateList')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
|
||||
@@ -35,6 +35,9 @@ export default {
|
||||
mounted() {
|
||||
this.getList()
|
||||
uni.setNavigationBarTitle({title: '便民通讯录'})
|
||||
uni.$on('updateList', () => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user