BUG 29503

This commit is contained in:
aixianling
2022-05-05 16:21:13 +08:00
parent 64202161dd
commit 6d3984654c

View File

@@ -5,7 +5,7 @@
<ai-title title="网格区块" :isShowBottomBorder="true"></ai-title>
</template>
<template slot="left">
<ai-tree-menu title="网格层级" @search="(v) => $refs.tree.filter(v)">
<ai-tree-menu title="网格层级" @search="v=> $refs.tree.filter(v)">
<el-tree
:data="treeObj.treeList"
:props="treeObj.defaultProps"
@@ -14,8 +14,13 @@
ref="tree"
:filter-node-method="filterNode"
default-expand-all
highlight-current
/>
highlight-current>
<template slot-scope="{node,data}">
<el-tooltip placement="right" :content="node.label">
<div v-text="node.label"/>
</el-tooltip>
</template>
</el-tree>
</ai-tree-menu>
</template>
<template slot="content">
@@ -608,7 +613,7 @@ export default {
background: #2266FF;
span {
.el-tooltip {
color: #fff;
}
}