From d5144e7cb7ccf2795e02098b850e282eb2a6e74f Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 14 十月 2020 10:27:07 +0800 Subject: [PATCH] 集群节点展示测试 --- src/components/LeftNav.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/components/LeftNav.vue b/src/components/LeftNav.vue index 2ef7e0d..86e0a7c 100644 --- a/src/components/LeftNav.vue +++ b/src/components/LeftNav.vue @@ -151,6 +151,9 @@ </el-submenu> </el-menu> </el-tab-pane> + <el-tab-pane label="闆嗙兢" name="cluster" :style="`height:${height - 56}px;`" v-if="showCluster"> + + </el-tab-pane> <el-tab-pane label="鏁版嵁鏍�" name="dataStack" @@ -288,6 +291,9 @@ }, showCam() { return this.appName === "Camera" || this.appName === "Search"; + }, + showCluster() { + return this.appName === "Cluster" }, showDataStack() { return this.appName === "DataStack" || this.appName === "Search"; @@ -623,8 +629,9 @@ border: none; box-shadow: none; .el-tabs__header { + display: none; border-bottom: none; - margin: 0 0 15px; + //margin: 0 0 15px; } .el-tabs__content { padding: 0; @@ -751,6 +758,7 @@ .search-input { padding-top: 8px; padding-bottom: 12px; + text-align: left; .dev-tree-close { width: 10%; margin-left: 10px; -- Gitblit v1.8.0