Commit 05b5dd7b8dfcc30e6e2af46323343a77503913e9
1 parent
9ec927b1
update Cascader
update Cascader
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
src/components/cascader/cascader.vue
... | ... | @@ -77,7 +77,7 @@ |
77 | 77 | }, |
78 | 78 | renderFormat: { |
79 | 79 | type: Function, |
80 | - default (label, selectedData) { | |
80 | + default (label) { | |
81 | 81 | return label.join(' / '); |
82 | 82 | } |
83 | 83 | } |
... | ... | @@ -96,7 +96,8 @@ |
96 | 96 | `${prefixCls}`, |
97 | 97 | { |
98 | 98 | [`${prefixCls}-show-clear`]: this.showCloseIcon, |
99 | - [`${prefixCls}-visible`]: this.visible | |
99 | + [`${prefixCls}-visible`]: this.visible, | |
100 | + [`${prefixCls}-disabled`]: this.disabled | |
100 | 101 | } |
101 | 102 | ] |
102 | 103 | }, | ... | ... |
src/styles/components/cascader.less