mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
内网环境判断
This commit is contained in:
@@ -110,15 +110,14 @@
|
||||
</assess>
|
||||
</div>
|
||||
</div>
|
||||
<el-card v-if="Internet == 2" style="background-color:#eee" class="jianjie pdftext" id="pdfPreview">
|
||||
<div v-if="Internet == 2" style="margin:350px 250px" class="jianjie pdftext" id="pdfPreview">
|
||||
<div style="margin-top:40px">
|
||||
<span>十分抱歉,您当前的网络环境不符合观看要求。<br />
|
||||
为了保障案例信息的安全,您需要接入公司内网才能观看。</span>
|
||||
<span>十分抱歉,您当前的网络环境不符合观看要求。为了保障案例信息的安全,您需要接入公司内网才能观看。</span>
|
||||
</div>
|
||||
<div style="margin-top:20px" @click="getInternet">
|
||||
<el-button type="primary">重新检测</el-button>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
</div>
|
||||
<!--交互部分-->
|
||||
<div>
|
||||
@@ -1452,7 +1451,6 @@
|
||||
} else {
|
||||
clearTimeout(timer);
|
||||
$this.Internet = 2;
|
||||
|
||||
}
|
||||
} else {
|
||||
if (timedOut) return;//忽略中止请求
|
||||
|
||||
Reference in New Issue
Block a user