diff --git a/src/tree-select/tree-select.less b/src/tree-select/tree-select.less index 35e5daca6..77f59237c 100644 --- a/src/tree-select/tree-select.less +++ b/src/tree-select/tree-select.less @@ -31,6 +31,8 @@ } &__item { + .ellipsisLn(1); + height: @tree-item-height; line-height: @tree-item-height; font-size: @tree-item-font-size; diff --git a/src/tree-select/tree-select.wxml b/src/tree-select/tree-select.wxml index 5a0f3505a..6f197544d 100644 --- a/src/tree-select/tree-select.wxml +++ b/src/tree-select/tree-select.wxml @@ -51,6 +51,7 @@ class="{{classPrefix}}__radio-item {{prefix}}-class-right-item" t-class-label="{{prefix}}-class-right-item-label" value="{{item.value}}" + maxLabelRow="{{1}}" borderless placement="right" >{{item.label}}