mirror of https://github.com/ElemeFE/element
Scroll: feat scroll always show
parent
8ab1db83c5
commit
3e7360b600
|
@ -93,7 +93,7 @@ export default {
|
|||
</div>
|
||||
]);
|
||||
}
|
||||
return h('div', { class: 'el-scrollbar' }, nodes);
|
||||
return h('div', { 'class': ['el-scrollbar', this.always ? 'is-always' : ''] }, nodes);
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
@ -14,6 +14,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
@include when(always){
|
||||
@include e(bar) {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@include e(wrap) {
|
||||
overflow: scroll;
|
||||
height: 100%;
|
||||
|
|
Loading…
Reference in New Issue