From 4c3e08670a6a98deea9984c7090994e8e47d3339 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期三, 05 八月 2020 10:46:40 +0800
Subject: [PATCH] card 查找此人添加检索页面跳转
---
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