update Cascader
update Cascader
This commit is contained in:
parent
9ec927b149
commit
05b5dd7b8d
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue