2
0

Merge remote-tracking branch 'origin/main'

This commit is contained in:
zhongzm
2025-01-14 12:01:29 +08:00

View File

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