From 329f27e1d069c56d9486625dde0b35ade2c0cb4d Mon Sep 17 00:00:00 2001 From: zhangtianqi <ztq17634040974@163.com> Date: Thu, 3 Nov 2022 10:43:06 +0800 Subject: [PATCH] 乙方运维树结构设置为‘手风琴’模式 --- hg-monitor-web-zj/src/main/resources/static/vue3/src/views/operationMaintenance/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/operationMaintenance/index.html b/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/operationMaintenance/index.html index c914912..2658d88 100644 --- a/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/operationMaintenance/index.html +++ b/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/operationMaintenance/index.html @@ -2,7 +2,7 @@ <el-row :gutter="5" > <el-col :span="4" > <div class="cm-card" :style="{'min-height':height+'px','max-height':height+'px','height':'100%','overflow-y':'auto','overflow-x':'hidden'}"> - <el-tree :data="dataSource" :default-expanded-keys="[1]" :props="defaultProps" > + <el-tree :data="dataSource" accordion :default-expanded-keys="[1]" :props="defaultProps" > <template #default="{ node, data }"> <div style=" width: 100%;"> <div style="width: 85%;max-width: 85%;overflow: hidden;text-overflow: ellipsis;text-align: left;" @click="handleNodeClick(data)" :title="node.label"> -- libgit2 0.24.0