소스 검색

腾讯云验证码js地址变更

LiFei 2 년 전
부모
커밋
7f26c768e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/router.js

+ 1 - 1
src/router.js

@@ -183,7 +183,7 @@ router.beforeEach((to, from, next) => {
         }
         if (to.name === 'captcha') {
             var hm = document.createElement("script");
-            hm.src = "https://ssl.captcha.qq.com/TCaptcha.js";
+            hm.src = "turing.captcha.qcloud.com/TCaptcha.js";
             var s = document.getElementsByTagName("script")[0];
             s.parentNode.appendChild(hm);
         }