mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
仅内网可见-管理员端 调试
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<div class="course-playbox" ref="coursePlayerBox" id="id_course_player_box">
|
||||
<div class="course-player" ref="coursePlayer" id="id_course_player">
|
||||
<div>
|
||||
<div v-if="Internet != 2">
|
||||
<div v-if="Internet == 1">
|
||||
<div v-if="resType == null || resType == 0">
|
||||
<!--先显示视频图片-->
|
||||
<course-image v-if="courseInfo.id != ''" :course="courseInfo"></course-image>
|
||||
@@ -412,7 +412,7 @@
|
||||
curCFile: {
|
||||
converStatus: 4,
|
||||
},
|
||||
Internet: 3,//1是成功 2是是失败 3是检测中
|
||||
Internet: 1,//1是成功 2是是失败 3是检测中
|
||||
radio: '',
|
||||
interactRuning: false,
|
||||
playerBoxShow: false,
|
||||
@@ -1329,6 +1329,7 @@
|
||||
this.getInternet()
|
||||
console.log('需要内网环境')
|
||||
}
|
||||
this.Internet=1;
|
||||
if(rs.result.contents.length==0){
|
||||
$this.$message.error('课程内容已删除或课程已不再使用');
|
||||
return;
|
||||
@@ -1420,6 +1421,7 @@
|
||||
} else {
|
||||
this.$message.error(rs.message);
|
||||
}
|
||||
|
||||
});
|
||||
},
|
||||
getXmlHttpRequest() {
|
||||
@@ -1439,7 +1441,7 @@
|
||||
let timer = setTimeout(function () {
|
||||
timedOut = true;
|
||||
xmlhttp.abort();
|
||||
}, 3000);
|
||||
}, 1000);
|
||||
xmlhttp.open("HEAD", window.location.protocol + "//uapi.boe.com.cn/500.html", true);
|
||||
xmlhttp.send();
|
||||
xmlhttp.onreadystatechange = function () {
|
||||
|
||||
Reference in New Issue
Block a user