This commit is contained in:
yanran200730
2022-05-06 17:47:41 +08:00
parent a0cc85027c
commit c1010119aa

View File

@@ -16,9 +16,7 @@
default-expand-all default-expand-all
highlight-current> highlight-current>
<template slot-scope="{node,data}"> <template slot-scope="{node,data}">
<el-tooltip placement="right" :content="node.label">
<div v-text="node.label"/> <div v-text="node.label"/>
</el-tooltip>
</template> </template>
</el-tree> </el-tree>
</ai-tree-menu> </ai-tree-menu>
@@ -321,6 +319,7 @@ export default {
this.$message.success("删除成功!"); this.$message.success("删除成功!");
this.getList(); this.getList();
this.getTreeList();
} }
}); });
}) })
@@ -606,6 +605,7 @@ export default {
} }
.is-current > .el-tree-node__content { .is-current > .el-tree-node__content {
color: #fff!important;
&:hover { &:hover {
background: #2266FF; background: #2266FF;
color: #fff; color: #fff;