From 5fb65ada8ccc28eabf823b284de70fbd3ca1f41e Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 28 九月 2021 18:29:36 +0800
Subject: [PATCH] 抓拍大图层级修复v1
---
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