导航栏标题

This commit is contained in:
liuye
2021-12-24 14:17:10 +08:00
parent 4651151cd1
commit 50b4a98b2c
59 changed files with 59 additions and 65 deletions

View File

@@ -78,7 +78,7 @@ export default {
this.getDetail()
}
})
uni.setNavigationBarTitle({title: '新增'})
document.title = '新增'
},
methods: {

View File

@@ -43,7 +43,7 @@ export default {
computed: { ...mapState(['user']) },
mounted() {
this.getList()
uni.setNavigationBarTitle({title: '便民通讯录'})
document.title = '便民通讯录'
},
methods: {

View File

@@ -34,7 +34,7 @@ export default {
computed: { ...mapState(['user']) },
mounted() {
this.getList()
uni.setNavigationBarTitle({title: '便民通讯录'})
document.title = '便民通讯录'
uni.$on('updateList', () => {
this.getList()
})