fix: select dropdownRender not support slot #3098

pull/3128/head
tangjinzhou 2020-11-03 22:36:23 +08:00
parent c98e13d803
commit 1165b42dc2
1 changed files with 1 additions and 0 deletions

View File

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