Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeD3 committed Feb 19, 2023
1 parent 9ec44bd commit ee5b406
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const currentScrollTop = shallowRef(0)
const getInitByScroll = () => {
const articleDom = document.getElementById('markdown-body')
const headings = articleDom?.querySelectorAll('h1, h2, h3')
headings?.forEach((item: any, i) => {
headings?.forEach((item: any) => {
heading.value.push(item)
})
Expand Down

0 comments on commit ee5b406

Please sign in to comment.