From 3a8a3b87d865afb6aae796d8e439d956eb0ac6f8 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Fri, 27 Mar 2020 14:01:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B7=A6=E8=BE=B9=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/displayNew/LeftSlider.vue | 1 - src/views/newMap/displayNew/index.vue | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/displayNew/LeftSlider.vue b/src/views/newMap/displayNew/LeftSlider.vue index c82d750fb..325dd9394 100644 --- a/src/views/newMap/displayNew/LeftSlider.vue +++ b/src/views/newMap/displayNew/LeftSlider.vue @@ -61,7 +61,6 @@ export default { getPublishLessonTree(this.$route.query.lessonId).then(response => { if (response.data.tree && response.data.tree.length > 0) { this.treeList = response.data.tree; - console.log(this.treeList); } }).catch(error => { this.$message.error(this.$t('tip.failedCourse') + ':' + error.message); diff --git a/src/views/newMap/displayNew/index.vue b/src/views/newMap/displayNew/index.vue index e67308e1e..ce0651584 100644 --- a/src/views/newMap/displayNew/index.vue +++ b/src/views/newMap/displayNew/index.vue @@ -40,7 +40,7 @@ - + @@ -165,6 +165,9 @@ export default { isLesson() { return this.mode === 'teach' || this.mode === 'manage'; }, + isShowLeftSlider() { + return (this.mode === 'teach' || this.mode === 'manage') && (this.$route.query.lessonId != '0'); + }, isExam() { return this.mode === 'exam'; },