mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
fix: remove extra class (#2246)
This commit is contained in:
parent
6338ace1a4
commit
9b9ab497cc
@ -110,7 +110,7 @@ function genPageAnchorTemplate (tokens) {
|
||||
.map((token) => token.text)
|
||||
const links = titles.map((title) => {
|
||||
const href = title.replace(/ /g, '-')
|
||||
return `<n-anchor-link class="n-ellipsis" title="${title}" href="#${href}"/>`
|
||||
return `<n-anchor-link title="${title}" href="#${href}"/>`
|
||||
})
|
||||
return genAnchorTemplate(links.join('\n'), { ignoreGap: true })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user