diff --git a/scrollbar/src/main.vue b/scrollbar/src/main.vue index afe72f9..1f5c0e8 100644 --- a/scrollbar/src/main.vue +++ b/scrollbar/src/main.vue @@ -163,7 +163,6 @@ export default { let heightPercentage, widthPercentage; const wrap = this.wrap; if (!wrap) return; - debugger heightPercentage = (wrap.clientHeight * 100 / wrap.scrollHeight); widthPercentage = (wrap.clientWidth * 100 / wrap.scrollWidth); this.sizeHeight = (heightPercentage < 100) ? (heightPercentage + '%') : ''; diff --git a/scrollbar/src/utils/scroll-into-view.js b/scrollbar/src/utils/scroll-into-view.js index 8da37a9..716f4bb 100644 --- a/scrollbar/src/utils/scroll-into-view.js +++ b/scrollbar/src/utils/scroll-into-view.js @@ -7,7 +7,6 @@ export default function scrollIntoView(container, selected) { container.scrollTop = 0; return; } -debugger const top = selected.offsetTop; const bottom = selected.offsetTop + selected.offsetHeight; const viewRectTop = container.scrollTop; diff --git a/src/components/EasyScroll.vue b/src/components/EasyScroll.vue index 183c0cb..267a43e 100644 --- a/src/components/EasyScroll.vue +++ b/src/components/EasyScroll.vue @@ -188,8 +188,6 @@ mounted:function () { var bodyHei = document.documentElement.clientHeight; this.$refs.root.style.height = bodyHei; - debugger - }, methods:{ addOption:function () {