【修改】修改样式

This commit is contained in:
zhoulingpo
2023-04-28 16:00:33 +08:00
parent 18de24f378
commit 15819f2b1c
6 changed files with 73 additions and 33 deletions
+11 -1
View File
@@ -104,7 +104,8 @@
<el-col :span="4" class="treeList">
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
</el-input>
<el-scrollbar wrap-class="scroll-wrap" view-class="scroll-view">
<el-scrollbar wrap-class="scroll-wrap" view-class="scroll-view"
class="lef-tree">
<el-tree
class="filter-tree"
:data="treeData"
@@ -114,7 +115,16 @@
:filter-node-method="filterNode"
ref="tree"
@check="getHalfCheckedNode"
>
<template slot-scope="{node}">
<!-- <span v-if="node.label.length <= 10">{{ node.label }}</span>-->
<!-- <el-tooltip :content="node.label" placement="top">-->
<div :title="node.label" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 50px">
{{ node.label }}
</div>
<!-- </el-tooltip>-->
</template>
</el-tree>
</el-scrollbar>
</el-col>