仅内网可见-管理员端 调试

This commit is contained in:
670788339
2025-07-21 20:59:06 +08:00
parent a4d088a3ae
commit c7f4a224ff

View File

@@ -114,7 +114,7 @@
<div style="margin-top:40px;font-weight:700;font-size: 22px;color: #ccc"> <div style="margin-top:40px;font-weight:700;font-size: 22px;color: #ccc">
<span>十分抱歉您当前的网络环境不符合观看要求为了保障课程信息的安全您需要接入公司内网才能观看</span> <span>十分抱歉您当前的网络环境不符合观看要求为了保障课程信息的安全您需要接入公司内网才能观看</span>
</div> </div>
<div style="margin-top:20px;text-align:center" @click="getInternet"> <div style="margin-top:20px;text-align:center" @click="refreshPage">
<el-button type="primary">重新检测</el-button> <el-button type="primary">重新检测</el-button>
</div> </div>
</div> </div>
@@ -531,10 +531,6 @@
return treeList; return treeList;
} }
}, },
destroyed(){
this.cleanAppendTime();
this.stopStudyTime();
},
methods: { methods: {
handleOpen(key,path){ handleOpen(key,path){
if(this.isFalse){ if(this.isFalse){
@@ -1428,6 +1424,9 @@
}); });
}, },
refreshPage() {
location.reload();
},
getXmlHttpRequest() { getXmlHttpRequest() {
if (window.XMLHttpRequest) { if (window.XMLHttpRequest) {
return new XMLHttpRequest(); return new XMLHttpRequest();
@@ -1453,6 +1452,7 @@
if (xmlhttp.status == 200) { if (xmlhttp.status == 200) {
clearTimeout(timer); clearTimeout(timer);
$this.Internet = 1; $this.Internet = 1;
} else { } else {
clearTimeout(timer); clearTimeout(timer);
// $this.protocolDialogVisible=true // $this.protocolDialogVisible=true
@@ -1756,6 +1756,10 @@
} }
}, },
}, },
destroyed(){
this.cleanAppendTime();
this.stopStudyTime();
},
} }
</script> </script>