mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 13:56:43 +08:00
仅内网可见-管理员端 调试
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user