提交修改

This commit is contained in:
daihh
2022-06-23 17:08:27 +08:00
parent 7536580428
commit 17a8ef0681

View File

@@ -220,7 +220,7 @@ export default {
timedOut = true; timedOut = true;
xmlhttp.abort(); xmlhttp.abort();
}, 5000); }, 5000);
xmlhttp.open("HEAD", "http://uapi.boe.com.cn",true); xmlhttp.open("HEAD", window.location.protocol+"//uapi.boe.com.cn",true);
xmlhttp.send(); xmlhttp.send();
xmlhttp.onreadystatechange=function() { xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) { if (xmlhttp.readyState==4) {