From 2baa5c61a426f1b38954d85184f6989c088c7468 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Mon, 21 Jul 2025 20:10:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=85=E5=86=85=E7=BD=91=E5=8F=AF=E8=A7=81-?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E7=AB=AF=20=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index b7cb839c..acb0cf42 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -22,7 +22,7 @@
-
+
@@ -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('课程内容已删除或课程已不再使用');