导航栏标题

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

@@ -101,7 +101,7 @@ export default {
...mapState(['user']),
},
onLoad() {
uni.setNavigationBarTitle({ title: '走访慰问' })
document.title = '走访慰问'
this.areaId = this.user.areaId
this.$dict.load('realityStatus').then(() => {
this.getList()

View File

@@ -86,7 +86,7 @@ export default {
computed: { ...mapState(['user']) },
onLoad(o) {
this.id = o.id
uni.setNavigationBarTitle({ title: '新建走访' })
document.title = '新建走访'
this.areaIdProps = this.user.areaId
this.forms.areaId = this.user.areaId
this.$dict.load('realityStatus').then(() => {

View File

@@ -50,7 +50,7 @@ export default {
computed: {},
onLoad(o) {
this.id = o.id
uni.setNavigationBarTitle({ title: '走访详情' })
document.title = '走访详情'
this.$dict.load('realityStatus').then(() => {
this.getDetail()
})

View File

@@ -75,7 +75,7 @@ export default {
computed: {},
created() {
console.log(1)
uni.setNavigationBarTitle({ title: '选择走访慰问对象' })
document.title = '选择走访慰问对象'
this.getDiyList()
},
mounted() {},