From ef910200d12117e02f1f43a5f0d911d13e55f1ab Mon Sep 17 00:00:00 2001 From: morning Date: Mon, 16 Apr 2018 17:18:27 +0800 Subject: [PATCH] remove space --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 8484cbb..c779b2a 100644 --- a/src/index.js +++ b/src/index.js @@ -197,7 +197,7 @@ export default function install (Vue, options) { }, inserted: function (el) { const {eventEl, onScroll, options: {sectionSelector}} = el[scrollSpyContext] - + initScrollSections(el, sectionSelector) eventEl.addEventListener('scroll', onScroll) @@ -205,7 +205,7 @@ export default function install (Vue, options) { }, componentUpdated: function (el) { const {onScroll, options: {sectionSelector}} = el[scrollSpyContext] - + initScrollSections(el, sectionSelector) onScroll() },