update Cascader

update Cascader
This commit is contained in:
梁灏 2016-11-16 12:44:47 +08:00
parent 9ec927b149
commit 05b5dd7b8d
2 changed files with 6 additions and 2 deletions

View file

@ -77,7 +77,7 @@
}, },
renderFormat: { renderFormat: {
type: Function, type: Function,
default (label, selectedData) { default (label) {
return label.join(' / '); return label.join(' / ');
} }
} }
@ -96,7 +96,8 @@
`${prefixCls}`, `${prefixCls}`,
{ {
[`${prefixCls}-show-clear`]: this.showCloseIcon, [`${prefixCls}-show-clear`]: this.showCloseIcon,
[`${prefixCls}-visible`]: this.visible [`${prefixCls}-visible`]: this.visible,
[`${prefixCls}-disabled`]: this.disabled
} }
] ]
}, },

View file

@ -8,6 +8,9 @@
display: block; display: block;
cursor: pointer; cursor: pointer;
} }
&-disabled .@{css-prefix}input{
cursor: @cursor-disabled;
}
.@{cascader-prefix-cls}-arrow:nth-of-type(1) { .@{cascader-prefix-cls}-arrow:nth-of-type(1) {
display: none; display: none;