导航栏title

This commit is contained in:
liuye
2021-12-23 16:56:41 +08:00
parent 496bd23980
commit 4b766bbeed
11 changed files with 11 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ export default {
console.log(this.params) console.log(this.params)
this.getList() this.getList()
this.getStatistic() this.getStatistic()
uni.setNavigationBarTitle({title: '乡村相册'})
}, },
methods: { methods: {

View File

@@ -38,6 +38,7 @@ export default {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.getList() this.getList()
uni.setNavigationBarTitle({title: '乡村相册'})
}, },
methods: { methods: {

View File

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

View File

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

View File

@@ -33,8 +33,8 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
mounted() { mounted() {
console.log(this.user)
this.getList() this.getList()
uni.setNavigationBarTitle({title: '便民通讯录'})
}, },
methods: { methods: {

View File

@@ -72,6 +72,7 @@ export default {
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
this.listName = o.listName this.listName = o.listName
this.getType() this.getType()
uni.setNavigationBarTitle({title: this.listName})
}, },
mounted() {}, mounted() {},

View File

@@ -40,6 +40,7 @@ export default {
this.id = o.id this.id = o.id
this.listName = o.listName this.listName = o.listName
this.getType() this.getType()
uni.setNavigationBarTitle({title: this.listName})
}, },
mounted() {}, mounted() {},
methods: { methods: {

View File

@@ -155,6 +155,7 @@ export default {
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
created() { created() {
this.getType() this.getType()
uni.setNavigationBarTitle({title: '新增人员'})
}, },
methods: { methods: {

View File

@@ -89,12 +89,12 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
created() { created() {
console.log(1111)
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.getStatistic() this.getStatistic()
this.getStatisticMon() this.getStatisticMon()
this.getUserList() this.getUserList()
uni.setNavigationBarTitle({title: '特殊人群管理'})
}, },
methods: { methods: {

View File

@@ -177,6 +177,7 @@ export default {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.getList() this.getList()
uni.setNavigationBarTitle({title: '视频监控'})
// this.getMonitors() // this.getMonitors()
}, },
mounted() { mounted() {

View File

@@ -22,6 +22,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.detectOrient() this.detectOrient()
}) })
uni.setNavigationBarTitle({title: '视频监控'})
}, },
methods: { methods: {