diff --git a/packages/theme/src/tree/index.less b/packages/theme/src/tree/index.less index b83cadf4a1..d3fc6e4f7c 100644 --- a/packages/theme/src/tree/index.less +++ b/packages/theme/src/tree/index.less @@ -460,7 +460,7 @@ } } - .@{radio-prefix-cls} { + &__content-left__radio.@{radio-prefix-cls} { .@{radio-prefix-cls}__label { display: none; } diff --git a/packages/vue/src/tree/src/tree-node.vue b/packages/vue/src/tree/src/tree-node.vue index 633d1c053f..e0c29d896e 100644 --- a/packages/vue/src/tree/src/tree-node.vue +++ b/packages/vue/src/tree/src/tree-node.vue @@ -114,7 +114,8 @@ :validate-event="false" :label="node.id" :disabled="!!node.disabled" - > + class="tiny-tree-node__content-left__radio" + />