Showing
1 changed file
with
1 additions
and
1 deletions
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | <el-row :gutter="5" > | 2 | <el-row :gutter="5" > |
3 | <el-col :span="4" > | 3 | <el-col :span="4" > |
4 | <div class="cm-card" :style="{'min-height':height+'px','max-height':height+'px','height':'100%','overflow-y':'auto','overflow-x':'hidden'}"> | 4 | <div class="cm-card" :style="{'min-height':height+'px','max-height':height+'px','height':'100%','overflow-y':'auto','overflow-x':'hidden'}"> |
5 | - <el-tree :data="dataSource" :default-expanded-keys="[1]" :props="defaultProps" > | 5 | + <el-tree :data="dataSource" accordion :default-expanded-keys="[1]" :props="defaultProps" > |
6 | <template #default="{ node, data }"> | 6 | <template #default="{ node, data }"> |
7 | <div style=" width: 100%;"> | 7 | <div style=" width: 100%;"> |
8 | <div style="width: 85%;max-width: 85%;overflow: hidden;text-overflow: ellipsis;text-align: left;" @click="handleNodeClick(data)" :title="node.label"> | 8 | <div style="width: 85%;max-width: 85%;overflow: hidden;text-overflow: ellipsis;text-align: left;" @click="handleNodeClick(data)" :title="node.label"> |
-
Please register or login to post a comment