Carbon: fix scrollbar style in safari & ff

This commit is contained in:
wayne
2017-10-09 10:42:42 +08:00
committed by 杨奕
parent 8ad7dda6c5
commit 5069718c4f
3 changed files with 13 additions and 9 deletions

View File

@@ -476,7 +476,7 @@
mounted() {
function scroll(fn) {
document.body.addEventListener('scroll', fn, false);
window.addEventListener('scroll', fn, false);
}
scroll(() => {
if (this.isHome) {