更改外部链接打开方式,从新窗口改为当前窗口

This commit is contained in:
2025-03-08 16:39:10 +08:00
parent 491bc69113
commit dbec283a7f

View File

@ -49,7 +49,7 @@ const isDarkMode = ref(false);
// 打开外部链接 // 打开外部链接
const goToBlog = () => { const goToBlog = () => {
window.open("https://blog.kisechan.space", "_blank"); window.open("https://blog.kisechan.space", "_self");
}; };
// 打开内部链接(当前页面) // 打开内部链接(当前页面)