From b41db64b0dc4c5fecb40caf788a1a80e7e4e7eb5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 31 Dec 2021 15:24:15 +0800
Subject: [PATCH] +

---
 src/pcviews/arc/rest.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/pcviews/arc/rest.vue b/src/pcviews/arc/rest.vue
index 8aa61a4..55f78da 100644
--- a/src/pcviews/arc/rest.vue
+++ b/src/pcviews/arc/rest.vue
@@ -3,7 +3,7 @@
  * @Name: 其他楼宇
  * @Date: 2021-11-15 17:14:47
  * @Last Modified by: Morpheus
- * @Last Modified time: 2021-12-25 14:44:21
+ * @Last Modified time: 2021-12-30 14:25:28
  */
 <template>
     <div>
@@ -24,10 +24,11 @@
     computed: {
         ...mapGetters([
             // 校内导航的显示关闭
-            'orgNavBarFlag'
+            'orgNavBarFlag',
+            'arcNavBarFlag'
         ])
     },
-    created () {
+    mounted () {
         if (this.orgNavBarFlag == true) {
             this.$store.commit('SET_ORGNAVBARTITLE', '')
             this.$store.commit('SET_ORGNAVBARLIST', [])
@@ -39,6 +40,13 @@
     },
     methods: {
 
+    },
+    beforeDestroy () {
+        if (this.arcNavBarFlag == true) {
+            this.$store.commit('SET_ARCNAVBARTITLE', '')
+            this.$store.commit('SET_ARCNAVBARCODE', '')
+            this.$store.commit('SET_ARCNAVBARFLAG', false)
+        }
     }
 }
 </script>

--
Gitblit v1.9.3