fix: select dropdownRender not support slot #3098

pull/3128/head
tangjinzhou 4 years ago
parent c98e13d803
commit 1165b42dc2

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

Loading…
Cancel
Save