Skip to content

Commit f24e5c9

Browse files
authored
Merge pull request #18 from ConandSherry/master
fix active class missing
2 parents 927f472 + 37b384f commit f24e5c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export default function install (Vue, options) {
192192
}
193193

194194
scrollSpyElements[id] = el
195+
delete currentIndex[id]
195196
},
196197
inserted: function (el) {
197198
initScrollSections(el)

0 commit comments

Comments
 (0)