|
@@ -102,6 +102,7 @@ export default {
|
|
|
methods: {
|
|
|
// 展开/收起节点
|
|
|
onExpand (expandedKeys) {
|
|
|
+ console.log(expandedKeys)
|
|
|
this.expandedKeys = expandedKeys
|
|
|
// this.autoExpandParent = false
|
|
|
},
|
|
@@ -406,7 +407,12 @@ export default {
|
|
|
width: 80%;
|
|
|
float: right;
|
|
|
}
|
|
|
-
|
|
|
+ .ant-tree li .ant-tree-node-content-wrapper{
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .ant-tree li.isLeaf .ant-tree-node-content-wrapper{
|
|
|
+ font-weight: normal;
|
|
|
+ }
|
|
|
.ant-tree li.isLeaf{
|
|
|
display: inline-block;
|
|
|
width: 25%;
|
|
@@ -422,6 +428,7 @@ export default {
|
|
|
}
|
|
|
.ant-tree-node-content-wrapper{
|
|
|
color: rgb(209, 4, 4);
|
|
|
+ font-weight: normal;
|
|
|
}
|
|
|
}
|
|
|
}
|