Browse Source

fix: select dropdownRender not support slot #3098

pull/3128/head
tangjinzhou 4 years ago
parent
commit
1165b42dc2
  1. 1
      components/select/index.tsx

1
components/select/index.tsx

@ -215,6 +215,7 @@ const Select = defineComponent({
getPopupContainer={getPopupContainer || getContextPopupContainer}
dropdownClassName={rcSelectRtlDropDownClassName}
onChange={triggerChange}
dropdownRender={selectProps.dropdownRender || this.$slots.dropdownRender}
>
{slots.default?.()}
</RcSelect>

Loading…
Cancel
Save