Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed Feb 1, 2023
1 parent c985726 commit e3edcfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/pages/changelog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default {
let a = changeLogNodes[1].querySelector('a')
a && a.remove()
let release = changeLogNodes[1].textContent.trim()
console.log(release)
let fragments = `<li><h3><a href="https://github.com/zouyaoji/vue-cesium/releases/tag/v${release}" target="_blank">${release}</a></h3>`
for (let len = changeLogNodes.length, i = 2; i < len; i++) {
Expand All @@ -45,7 +46,7 @@ export default {
if (node.tagName !== 'H3') {
fragments += changeLogNodes[i].outerHTML
} else {
release = changeLogNodes[i].textContent.trim()
release = changeLogNodes[i].textContent.replace('', '').trim()
fragments += `</li><li><h3><a href="https://github.com/zouyaoji/vue-cesium/releases/tag/v${release}" target="_blank">${release}</a></h3>`
}
}
Expand Down

0 comments on commit e3edcfc

Please sign in to comment.