校园-江西科技师范大学-前端
shuishen
2023-12-14 e733164e1c779b3aef7245936b9daf7875bf791e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<template>
    <div></div>
</template>
 
<script>
import { mapGetters } from 'vuex'
 
export default {
    data () {
        return {}
    },
    computed: {
        ...mapGetters([
            // 校园内导航的显示关闭
            'orgNavBarFlag',
            'arcNavBarFlag'
        ])
    },
    mounted () {
        if (this.orgNavBarFlag == true) {
            this.$store.commit('SET_ORGNAVBARTITLE', '')
            this.$store.commit('SET_ORGNAVBARLIST', [])
            this.$store.commit('SET_ORGNAVBARFLAG', false)
        }
        this.$store.commit('SET_ARCNAVBARTITLE', '行政办公')
        this.$store.commit('SET_ARCNAVBARCODE', 1)
        this.$store.commit('SET_ARCNAVBARFLAG', true)
    },
    methods: {},
    beforeDestroy () {
        if (this.arcNavBarFlag == true) {
            this.$store.commit('SET_ARCNAVBARTITLE', '')
            this.$store.commit('SET_ARCNAVBARCODE', '')
            this.$store.commit('SET_ARCNAVBARFLAG', false)
        }
    }
}
</script>
 
<style></style>