From ae2d855c89ca722ac7309fdf1aa6ceed370e3b95 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期一, 11 十月 2021 20:22:30 +0800
Subject: [PATCH] 监控ui

---
 src/pages/shuohuangMonitorAnalyze/components/leftNav.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/leftNav.vue b/src/pages/shuohuangMonitorAnalyze/components/leftNav.vue
index ca5cdcd..2087052 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/leftNav.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/leftNav.vue
@@ -12,7 +12,7 @@
       :default-active="activeIndex"
       @select="handleSelect"
     >
-      <el-menu-item index="guideIndex" v-if="isAdmin">
+      <el-menu-item index="guideIndex" v-show="isAdmin">
         <i class="iconfont iconshouye"></i>
         <span slot="title">棣栭〉</span>
       </el-menu-item>
@@ -82,7 +82,7 @@
   data() {
     return {
       publicPath: process.env.BASE_URL,
-      activeIndex: this.isAdmin ? 'guideIndex' : 'searchForVideoAnalyze'
+      activeIndex: 'guideIndex'
     }
   },
   mounted() {
@@ -92,6 +92,7 @@
     //     this.activeIndex = sessionStorage.getItem('leftNavAct');
     //   }
     // }
+    this.activeIndex = this.isAdmin ? 'guideIndex' : 'searchForVideoAnalyze';
 
     this.$emit('menuChange', this.activeIndex);
   },

--
Gitblit v1.8.0