升级:VitePress 版本升级为 v1.0.0-alpha.8

This commit is contained in:
2022-08-18 11:22:44 +08:00
parent a63bc6bc13
commit 4967b49430
12 changed files with 227 additions and 233 deletions

View File

@@ -29,8 +29,8 @@ export function getQueryParam(paramName) {
*/
export function goToLink(url, paramName, paramValue) {
if (paramName) {
location.href = url + '?' + paramName + '=' + paramValue
window.location.href = url + '?' + paramName + '=' + paramValue
} else {
location.href = url
window.location.href = url
}
}