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