导航栏标题

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

@@ -47,7 +47,7 @@ export default {
},
computed: { ...mapState(['user']) },
onLoad(o) {
uni.setNavigationBarTitle({ title: '新增通知公告' })
document.title = '新增通知公告'
this.id = o.id
this.getDetail()
},

View File

@@ -78,7 +78,7 @@ export default {
},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '通知公告' })
document.title = '通知公告'
this.getList()
uni.$on('updateList', () => {
this.current = 1

View File

@@ -33,7 +33,7 @@ export default {
computed: {},
watch: {},
onLoad(o) {
uni.setNavigationBarTitle({ title: '公告详情' })
document.title = '公告详情'
this.id = o.id
this.getDetail()
},