onShow
This commit is contained in:
@@ -47,7 +47,9 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.getList()
|
||||
document.title = '便民通讯录'
|
||||
},
|
||||
onShow() {
|
||||
document.title = "便民通讯录"
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -78,7 +78,9 @@ export default {
|
||||
this.getDetail()
|
||||
}
|
||||
})
|
||||
document.title = '新增'
|
||||
},
|
||||
onShow() {
|
||||
document.title = "新增"
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -43,7 +43,9 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.getList()
|
||||
document.title = '便民通讯录'
|
||||
},
|
||||
onShow() {
|
||||
document.title = "便民通讯录"
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -34,11 +34,13 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.getList()
|
||||
document.title = '便民通讯录'
|
||||
uni.$on('updateList', () => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = "便民通讯录"
|
||||
},
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
|
||||
Reference in New Issue
Block a user