shuishen
2022-04-29 4f55f7d94198eca8eba9ae6b85af19a07cac2f79
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
41
42
/* * @Author: Morpheus * @Name: 社区宿舍 * @Date: 2021-11-15 17:14:47 * @Last
Modified by: Morpheus * @Last Modified time: 2021-12-30 14:25:14 */
<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", 4)
        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>