File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
components/vc-tree-select/src Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ const Select = {
141141 {
142142 prefixCls : 'rc-tree-select' ,
143143 prefixAria : 'rc-tree-select' ,
144- showArrow : true ,
145144 showSearch : true ,
146145 autoClearSearchValue : true ,
147146 showCheckedStrategy : SHOW_CHILD ,
Original file line number Diff line number Diff line change @@ -186,15 +186,16 @@ const MultipleSelector = {
186186 } ,
187187
188188 render ( ) {
189- const { $slots } = this ;
189+ const { $slots, $props } = this ;
190190 const listeners = getListeners ( this ) ;
191+ const { showArrow = false } = $props ;
191192 return (
192193 < Selector
193194 { ...{
194195 props : {
195196 ...this . $props ,
197+ showArrow,
196198 tabIndex : - 1 ,
197- showArrow : false ,
198199 renderSelection : this . renderSelection ,
199200 renderPlaceholder : this . _renderPlaceholder ,
200201 } ,
Original file line number Diff line number Diff line change @@ -42,9 +42,11 @@ const SingleSelector = {
4242 } ,
4343
4444 render ( ) {
45+ const { showArrow = true } = this . $props ;
4546 const props = {
4647 props : {
4748 ...getOptionProps ( this ) ,
49+ showArrow,
4850 renderSelection : this . renderSelection ,
4951 } ,
5052 on : getListeners ( this ) ,
You can’t perform that action at this time.
0 commit comments