소스 검색

侧边栏bug改

mw_666 3 년 전
부모
커밋
02368284c1
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/views/WindSite/WindSite.vue

+ 4 - 0
src/views/WindSite/WindSite.vue

@@ -26,6 +26,7 @@
 
 
 <script>
 <script>
 	import SvgIcon from "@com/coms/icon/svg-icon.vue";
 	import SvgIcon from "@com/coms/icon/svg-icon.vue";
+	import $ from "jquery";
 	export default {
 	export default {
 		// 名称
 		// 名称
 		name: "WindSite",
 		name: "WindSite",
@@ -89,6 +90,9 @@
 				if (index == 7) { //风场
 				if (index == 7) { //风场
 					this.jumpUrl();
 					this.jumpUrl();
 					this.menu(index);
 					this.menu(index);
+					$('.page-common-body-menu-box a').eq(7).hide();
+				}else{
+					$('.page-common-body-menu-box a').eq(7).show();
 				}
 				}
 				this.activeIndex = index;
 				this.activeIndex = index;
 			},
 			},