+
{{ title }}
diff --git a/src/components/Tree/style/index.less b/src/components/Tree/style/index.less
index 231f27ba..b8e689b8 100644
--- a/src/components/Tree/style/index.less
+++ b/src/components/Tree/style/index.less
@@ -3,13 +3,22 @@
.@{tree-prefix-cls} {
background-color: @component-background;
+ .ant-tree {
+ .ant-tree-checkbox {
+ margin-block-start: 0;
+ margin-inline-start: 4px;
+ margin-inline-end: 4px;
+
+ & + span {
+ padding-left: 4px;
+ }
+ }
+ }
+
.ant-tree-node-content-wrapper {
position: relative;
.ant-tree-title {
- position: absolute;
- left: 0;
- width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
diff --git a/src/views/demo/tree/index.vue b/src/views/demo/tree/index.vue
index 71554252..da3f3261 100644
--- a/src/views/demo/tree/index.vue
+++ b/src/views/demo/tree/index.vue
@@ -3,7 +3,7 @@
-
+
666