ソースを参照

第三方登录bug修复

zhangjie 1 年間 前
コミット
79a166c124
1 ファイル変更6 行追加1 行削除
  1. 6 1
      src/plugins/axios.js

+ 6 - 1
src/plugins/axios.js

@@ -20,7 +20,12 @@ let config = {
 const _$httpWith500Msg = axios.create(config);
 const _$http = axios.create(config); // no auto 500 error UI
 const _$httpWithoutBar = axios.create(config);
-const noauthUrls = ["/auth/login", "/auth/version", "/auth/thirdPartyAccess"];
+const noauthUrls = [
+  "/auth/login",
+  "/auth/version",
+  "/auth/thirdPartyAccess",
+  "/sso/login",
+];
 
 /**
  * A. token lifecycle