导航栏title
This commit is contained in:
		@@ -60,6 +60,7 @@ export default {
 | 
			
		||||
    console.log(this.params)
 | 
			
		||||
    this.getList()
 | 
			
		||||
    this.getStatistic()
 | 
			
		||||
    uni.setNavigationBarTitle({title: '乡村相册'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -38,6 +38,7 @@ export default {
 | 
			
		||||
    this.areaId = this.user.areaId
 | 
			
		||||
    this.areaName = this.user.areaName
 | 
			
		||||
    this.getList()
 | 
			
		||||
    uni.setNavigationBarTitle({title: '乡村相册'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -78,6 +78,7 @@ export default {
 | 
			
		||||
        this.getDetail()
 | 
			
		||||
      }
 | 
			
		||||
    })
 | 
			
		||||
    uni.setNavigationBarTitle({title: '新增'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -43,6 +43,7 @@ export default {
 | 
			
		||||
  computed: { ...mapState(['user']) },
 | 
			
		||||
  mounted() {
 | 
			
		||||
    this.getList()
 | 
			
		||||
    uni.setNavigationBarTitle({title: '便民通讯录'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -33,8 +33,8 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  computed: { ...mapState(['user']) },
 | 
			
		||||
  mounted() {
 | 
			
		||||
    console.log(this.user)
 | 
			
		||||
    this.getList()
 | 
			
		||||
    uni.setNavigationBarTitle({title: '便民通讯录'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -72,6 +72,7 @@ export default {
 | 
			
		||||
    this.forms.areaId = this.user.areaId
 | 
			
		||||
    this.listName = o.listName
 | 
			
		||||
    this.getType()
 | 
			
		||||
    uni.setNavigationBarTitle({title: this.listName})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  mounted() {},
 | 
			
		||||
 
 | 
			
		||||
@@ -40,6 +40,7 @@ export default {
 | 
			
		||||
    this.id = o.id
 | 
			
		||||
    this.listName = o.listName
 | 
			
		||||
    this.getType()
 | 
			
		||||
    uni.setNavigationBarTitle({title: this.listName})
 | 
			
		||||
  },
 | 
			
		||||
  mounted() {},
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -155,6 +155,7 @@ export default {
 | 
			
		||||
  computed: { ...mapState(['user']) },
 | 
			
		||||
  created() {
 | 
			
		||||
    this.getType()
 | 
			
		||||
    uni.setNavigationBarTitle({title: '新增人员'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -89,12 +89,12 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  computed: { ...mapState(['user']) },
 | 
			
		||||
  created() {
 | 
			
		||||
    console.log(1111)
 | 
			
		||||
    this.areaId = this.user.areaId
 | 
			
		||||
    this.areaName = this.user.areaName
 | 
			
		||||
    this.getStatistic()
 | 
			
		||||
    this.getStatisticMon()
 | 
			
		||||
    this.getUserList()
 | 
			
		||||
    uni.setNavigationBarTitle({title: '特殊人群管理'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -177,6 +177,7 @@ export default {
 | 
			
		||||
    this.areaId = this.user.areaId
 | 
			
		||||
    this.areaName = this.user.areaName
 | 
			
		||||
    this.getList()
 | 
			
		||||
    uni.setNavigationBarTitle({title: '视频监控'})
 | 
			
		||||
    // this.getMonitors()
 | 
			
		||||
  },
 | 
			
		||||
  mounted() {
 | 
			
		||||
 
 | 
			
		||||
@@ -22,6 +22,7 @@ export default {
 | 
			
		||||
    this.$nextTick(() => {
 | 
			
		||||
      this.detectOrient()
 | 
			
		||||
    })
 | 
			
		||||
    uni.setNavigationBarTitle({title: '视频监控'})
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user