导航栏标题
This commit is contained in:
@@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '新增通知公告' })
|
||||
document.title = '新增通知公告'
|
||||
this.id = o.id
|
||||
this.getDetail()
|
||||
},
|
||||
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '通知公告' })
|
||||
document.title = '通知公告'
|
||||
this.getList()
|
||||
uni.$on('updateList', () => {
|
||||
this.current = 1
|
||||
|
||||
@@ -33,7 +33,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '公告详情' })
|
||||
document.title = '公告详情'
|
||||
this.id = o.id
|
||||
this.getDetail()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user