From 19621635052322005f31579f7f3d481750898d7c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 31 Dec 2021 08:56:36 +0800
Subject: [PATCH] 部分更改

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

diff --git a/src/pcviews/arc/teaching.vue b/src/pcviews/arc/teaching.vue
index fab932d..d7562b0 100644
--- a/src/pcviews/arc/teaching.vue
+++ b/src/pcviews/arc/teaching.vue
@@ -3,7 +3,7 @@
  * @Name: 教学科研
  * @Date: 2021-11-15 17:14:47
  * @Last Modified by: Morpheus
- * @Last Modified time: 2021-12-25 14:45:10
+ * @Last Modified time: 2021-12-30 14:54:33
  */
 <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