tangning 3 달 전
부모
커밋
93e4e7a64f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/sys/login/LoginForm.vue

+ 1 - 1
src/views/sys/login/LoginForm.vue

@@ -199,7 +199,7 @@
           localStorage.removeItem('username');
         }
         if(query?.redirect && isUrl(query?.redirect as string)){
-          window.open(query?.redirect as string);
+          window.location(query?.redirect as string);
         }
         notification.success({
           message: t('sys.login.loginSuccessTitle'),