fix: select dropdownRender not support slot #3098

This commit is contained in:
tangjinzhou 2020-11-03 22:36:23 +08:00
parent c98e13d803
commit 1165b42dc2

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>