@@ -74,7 +74,7 @@ export default {
// 不换行,溢出隐藏
showOverflowTooltip: {
type: Boolean,
- default: false
+ default: true
},
formatter: {
type: Function
@@ -5,7 +5,7 @@
</div>
<div class="publicPageTree_tree">
<el-scrollbar style="height: 100%" :horizontal="false">
- <el-tree class="filter-tree" :data="data" :props="defaultProps" :node-key="nodeKey" :default-expanded-keys="defaultKeys" highlight-current :filter-node-method="filterNode" ref="tree" @node-click="treeNodeClick" />
+ <el-tree class="filter-tree" :data="data" :props="defaultProps" :node-key="nodeKey" :default-expanded-keys="defaultKeys" :highlight-current="true" :filter-node-method="filterNode" ref="tree" @node-click="treeNodeClick" />
</el-scrollbar>