Bladeren bron

fix:修复线上路由

lalala 4 maanden geleden
bovenliggende
commit
7d83ea7b94
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -20,7 +20,7 @@ const router = createRouter({
       path: "/",
       redirect: () => {
         window.location.href = "https://p-nju.seec.seecoder.cn/login?from=https://air-nju.seec.seecoder.cn";
-         window.location.href = "http://localhost:8000/login?from=http://localhost:4000";
+       //  window.location.href = "http://localhost:8000/login?from=http://localhost:4000";
         // {本地门户首页地址}?from={本地eai首页地址}
         return "/"; // 占位返回值,实际不会执行
     },