2
0

fix: disable redirect to 8.8.8.8

This commit is contained in:
zhangsz
2025-01-13 16:45:14 +08:00
parent 434767a902
commit c45d67f033

View File

@@ -97,7 +97,7 @@ async function checkRoute(to: RouteLocationNormalized): Promise<RouteLocationRaw
const isNotFoundRoute = to.name === notFoundRoute;
// 门户检查
checkRedirectParams();
// checkRedirectParams();
// if the constant route is not initialized, then initialize the constant route
if (!routeStore.isInitConstantRoute) {
@@ -252,7 +252,7 @@ function reLoadLocationHref(){
window.location.href = newUrl;
return
}
window.location.href = `//8.8.8.8`;
// window.location.href = `//8.8.8.8`;
}
function handleRouteSwitch(to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext) {