This commit is contained in:
2025-03-05 09:38:22 +08:00
parent 4cd73d9af8
commit 3716fec110

View File

@@ -96,9 +96,15 @@ function addButton() {
})
}
function modifyLink() {
const links = $content.value!.querySelectorAll("a")
links.forEach((link) => (link.target = "_blank"))
}
async function render() {
await getContent()
addButton()
modifyLink()
}
onMounted(render)