Skip to content

Commit

Permalink
fix(app): remove debugging codes
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Aug 9, 2020
1 parent 6803e7d commit 29f2f5c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions renderer/components/basic/scroll-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export default {
const ratio = getIntersectionRatio()
heightRef.value = Math.round(container.clientHeight * ratio)
topRef.value = Math.round(container.scrollTop * ratio)
console.log(topRef.value)
}
function handleScroll() {
Expand All @@ -112,7 +111,6 @@ export default {
onActivated(() => {
if (props.keepAlive) {
console.log(topRef.value)
const top = unref(topRef)
scrollTo(top)
}
Expand Down

0 comments on commit 29f2f5c

Please sign in to comment.