【修改bug】修改字数太长

This commit is contained in:
zhoulingpo
2023-04-26 17:55:27 +08:00
parent 806a117b03
commit 30a8fb5a23
3 changed files with 29 additions and 14 deletions
+13 -3
View File
@@ -152,8 +152,8 @@
<div class="tree">
<el-tree class="filter-tree" :data="treeData" default-expand-all :filter-node-method="filterNode" ref="tree">
<span class="custom-tree-node" slot-scope="{ node,data}">
<span>{{ node.label }}</span>
<span>
<span class="textover">{{ node.label }}</span>
<span class="btnover">
<!-- <el-button type="text" @click.stop="add">新建</el-button> -->
<el-button type="text" v-if="data.parentId != '0'"
@click.stop="update(node, data)">编辑</el-button>
@@ -1163,7 +1163,7 @@ export default {
align-items: center;
justify-content: space-between;
font-size: 14px;
width: calc(100% - 32px);
}
}
@@ -1425,4 +1425,14 @@ export default {
.deleRed{
color: red !important;
}
.btnover{
display: inline-block;
width: 68px;
}
.textover{
display: inline-block;
width: calc(100% - 120px);
overflow: hidden;
text-overflow: ellipsis;
}
</style>