修改前端

This commit is contained in:
joshen
2025-07-21 18:57:40 +08:00
parent 89277f8868
commit ea8143db2b

View File

@@ -1324,6 +1324,11 @@
audiences:this.audiences
}).then(rs => {
if (rs.status == 200) {
if (rs.result.isPermission){
// if (true){
this.getInternet()
console.log('需要内网环境')
}
if(rs.result.contents.length==0){
$this.$message.error('课程内容已删除或课程已不再使用');
return;
@@ -1412,11 +1417,6 @@
this.totalContent = rs.result.contents.length;
//加载学习的数据
this.loadStudyData(rs.result);
if (rs.result.isPermission){
// if (true){
this.getInternet()
console.log('需要内网环境')
}
} else {
this.$message.error(rs.message);
}