From b3c2f68003c7257ada96f65a3284ba48b5835e39 Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Fri, 30 Nov 2018 01:22:34 +0800 Subject: [PATCH] chore: remove outdated code --- packages/@vuepress/theme-default/layouts/Layout.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/@vuepress/theme-default/layouts/Layout.vue b/packages/@vuepress/theme-default/layouts/Layout.vue index e7119d70d7..090fd64494 100644 --- a/packages/@vuepress/theme-default/layouts/Layout.vue +++ b/packages/@vuepress/theme-default/layouts/Layout.vue @@ -115,8 +115,6 @@ export default { }, mounted () { - window.addEventListener('scroll', this.onScroll) - // configure progress bar nprogress.configure({ showSpinner: false })