mirror of
https://github.com/Kisechan/Mainpage.git
synced 2025-07-09 22:57:17 +00:00
更改外部链接打开方式,从新窗口改为当前窗口
This commit is contained in:
@ -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");
|
||||||
};
|
};
|
||||||
|
|
||||||
// 打开内部链接(当前页面)
|
// 打开内部链接(当前页面)
|
||||||
|
Reference in New Issue
Block a user