Skip to content

Commit

Permalink
Merge branch '1.x' of github.com:vueComponent/ant-design-vue into 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jul 14, 2021
2 parents 833cd47 + 72ca67b commit 74007fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion components/vc-tree-select/src/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ const Select = {
{
prefixCls: 'rc-tree-select',
prefixAria: 'rc-tree-select',
showArrow: true,
showSearch: true,
autoClearSearchValue: true,
showCheckedStrategy: SHOW_CHILD,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,16 @@ const MultipleSelector = {
},

render() {
const { $slots } = this;
const { $slots, $props } = this;
const listeners = getListeners(this);
const { showArrow = false } = $props;
return (
<Selector
{...{
props: {
...this.$props,
showArrow,
tabIndex: -1,
showArrow: false,
renderSelection: this.renderSelection,
renderPlaceholder: this._renderPlaceholder,
},
Expand Down
2 changes: 2 additions & 0 deletions components/vc-tree-select/src/Selector/SingleSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ const SingleSelector = {
},

render() {
const { showArrow = true } = this.$props;
const props = {
props: {
...getOptionProps(this),
showArrow,
renderSelection: this.renderSelection,
},
on: getListeners(this),
Expand Down

0 comments on commit 74007fb

Please sign in to comment.