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