소스 검색

update 更换三方回调方案

疯狂的狮子Li 1 년 전
부모
커밋
fe1942c247
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/components/SocialCallback/index.vue

+ 1 - 1
src/layout/components/SocialCallback/index.vue

@@ -65,7 +65,7 @@ const init = async () => {
   let host = window.location.host;
   if (domain !== host) {
     let urlFull = new URL(window.location.href);
-    urlFull.hostname = domain;
+    urlFull.host = domain;
     window.location.href = urlFull.toString();
   }