导航栏标题

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

@@ -131,7 +131,7 @@ export default {
},
onShow() {
uni.setNavigationBarTitle({title: '会议通知'})
document.title = '会议通知'
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
this.getData();
},

View File

@@ -145,7 +145,7 @@ export default {
},
onShow() {
uni.setNavigationBarTitle({title: '新增会议'})
document.title = '新增会议'
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
},

View File

@@ -67,7 +67,7 @@ export default {
}
},
onShow() {
uni.setNavigationBarTitle({title: '我发起的'})
document.title = '我发起的'
},
created() {
this.injectJWeixin(['sendChatMessage']).then(() => {

View File

@@ -55,9 +55,7 @@ export default {
onLoad(opt) {
this.index = opt.index
uni.setNavigationBarTitle({
title: opt.index == 0 ? "历史会议" : "草稿箱"
});
document.title = opt.index == 0 ? "历史会议" : "草稿箱"
this.getData();
},