Ver código fonte

腾讯验证码

wangxin 5 anos atrás
pai
commit
9eea3d1fae
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/router.js

+ 1 - 1
src/router.js

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