From a51a787a5ecb7d249dba434be74160c85516c555 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 05 八月 2020 10:25:12 +0800 Subject: [PATCH] minDock高亮显示 --- src/components/LeftNav.vue | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/components/LeftNav.vue b/src/components/LeftNav.vue index e3ef85e..1ad2f58 100644 --- a/src/components/LeftNav.vue +++ b/src/components/LeftNav.vue @@ -180,13 +180,13 @@ ></i> </el-input> <!-- 闅愯棌鏍戞寜閽� --> - <div class="dev-tree-close"> + <!-- <div class="dev-tree-close"> <i class="el-icon-s-fold" style="color: #3D68E1;line-height: 22px;font-size: 27px;" @click="closeTree" ></i> - </div> + </div> --> </div> <!-- 鏈湴瑙嗛婧愬垪琛� --> @@ -337,24 +337,24 @@ loadingGBTree: false }; }, - watch: { - $route(to, from) { - switch (to.name) { - case "Searching": - this.cameraAuth = "videoSearch:camera" - this.dataStack = "videoSearch:dataStack" - break - case "VideoManage": - this.cameraAuth = "VIDEOCAMERA:camera" - this.dataStack = "VIDEOCAMERA:dataStack" - break - default: - this.cameraAuth = "videoMonitor:camera" - this.dataStack = "videoMonitor:dataStack" - } - // console.log("璺敱鍙樺寲锛�", to, from) - } - }, + // watch: { + // $route(to, from) { + // switch (to.name) { + // case "Searching": + // this.cameraAuth = "videoSearch:camera" + // this.dataStack = "videoSearch:dataStack" + // break + // case "VideoManage": + // this.cameraAuth = "VIDEOCAMERA:camera" + // this.dataStack = "VIDEOCAMERA:dataStack" + // break + // default: + // this.cameraAuth = "videoMonitor:camera" + // this.dataStack = "videoMonitor:dataStack" + // } + // // console.log("璺敱鍙樺寲锛�", to, from) + // } + // }, created() { if (this.showCam) { this.TreeDataPool.treeActiveName = "camera" -- Gitblit v1.8.0