1.3.9
Chrome latest verseion Vue2.6.10
https://github.com/vueComponent/ant-design-vue.git
showArrow为true 箭头应该出现
showArrow为true, 箭头没有出现
js
renderArrow(multiple) {
const { showArrow, loading, prefixCls } = this.$props;
const inputIcon = getComponentFromProp(this, 'inputIcon');
if (!showArrow) {
return null;
}
// if loading have loading icon
if (multiple && !loading) {
return null;
}
const defaultIcon = loading ? (
<i class={`${prefixCls}-arrow-loading`} />
) : (
<i class={`${prefixCls}-arrow-icon`} />
);
return (
<span
key="arrow"
class={`${prefixCls}-arrow`}
style={UNSELECTABLE_STYLE}
{...{ attrs: UNSELECTABLE_ATTRIBUTE }}
onClick={this.onArrowClick}
>
{inputIcon || defaultIcon}
</span>
);
},
我看到代码里面是这样的,当为multiple模式时,直接return了null
I see the same issues. how did you resolved it?
1.4.0-beta.0 已经修复 可以直接使用
有修复吗 我1.6.5还是没有显示箭头
Most helpful comment
1.4.0-beta.0 已经修复 可以直接使用