@@ -454,6 +454,7 @@
getType: getType,
ctabName: 'catalog',
resType: null,
+ renderCourse: true,
activeNames: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
scoreInfo: {
dlgShow: false,
@@ -482,6 +483,7 @@
}
},
mounted() {
+ this.getInternet();
// 增加的用户受众id
let localKey = "user_" + this.userInfo.sysId + "_gids";
let hasIds = sessionStorage.getItem(localKey);
@@ -1325,11 +1327,12 @@
}).then(rs => {
if (rs.status == 200) {
if (rs.result.isPermission){
- // if (true){
- this.getInternet()
+ // this.getInternet()
+ this.renderCourse = true
console.log('需要内网环境')
}else{
this.Internet=1;
+ this.renderCourse = false
}
if(rs.result.contents.length==0){
$this.$message.error('课程内容已删除或课程已不再使用');