From d093a961992dd932884015bd5282ba4ca20b97a0 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 26 十一月 2020 11:42:30 +0800 Subject: [PATCH] ModalCard组件单独维护大图/视频切换字段,多个实例互不影响切换效果 --- src/components/LeftNav.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/LeftNav.vue b/src/components/LeftNav.vue index 421a4e1..575f5ad 100644 --- a/src/components/LeftNav.vue +++ b/src/components/LeftNav.vue @@ -238,7 +238,7 @@ size="small" clearable @input="querySearchAsync('dir')" - :style="'width:103px;'" + :style="'width:120px;'" > <i class="el-icon-search el-input__icon" @@ -468,7 +468,6 @@ this.TreeDataPool.fetchClusterTree(); findCluster().then(res => { if (res.success) { - debugger this.clusterName = res.data.clusterName; } @@ -532,6 +531,9 @@ this.timeout = setTimeout(() => { if (type === "camera") { this.TreeDataPool.fetchTreeData(); + } + if(type === "cluster"){ + this.TreeDataPool.fetchClusterTree(); } if (type === "dir") { this.DataStackPool.fetchFiles(); @@ -897,7 +899,7 @@ } .tree-edit { - z-index: 1; + z-index: 2; font-size: 16px; position: absolute; top: 56px; -- Gitblit v1.8.0