mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Carbon: fix scrollbar style in safari & ff
This commit is contained in:
@@ -476,7 +476,7 @@
|
||||
|
||||
mounted() {
|
||||
function scroll(fn) {
|
||||
document.body.addEventListener('scroll', fn, false);
|
||||
window.addEventListener('scroll', fn, false);
|
||||
}
|
||||
scroll(() => {
|
||||
if (this.isHome) {
|
||||
|
||||
Reference in New Issue
Block a user