소스 검색

Merge branch 'lhf-fix' into 'dev'

修复跳转地址问题

See merge request skyeye/skyeye_frontend/skyeye-admin!13
航飞 楼 1 년 전
부모
커밋
dc83e064de
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/utils/getRedirectUrl.ts

+ 1 - 1
src/utils/getRedirectUrl.ts

@@ -11,5 +11,5 @@ export const getRedirectUrl = () => {
 export const getLogoutUrl = () => {
   if (!loginApp) return '';
   const encodeUrl = encodeURIComponent(window.location.href);
-  return urlJoin(loginApp, `logout?redirect=${encodeUrl}`);
+  return loginApp + `logout?redirect=${encodeUrl}`;
 };