调整左边弹框显示
This commit is contained in:
parent
fb8d0b6615
commit
3a8a3b87d8
@ -61,7 +61,6 @@ export default {
|
|||||||
getPublishLessonTree(this.$route.query.lessonId).then(response => {
|
getPublishLessonTree(this.$route.query.lessonId).then(response => {
|
||||||
if (response.data.tree && response.data.tree.length > 0) {
|
if (response.data.tree && response.data.tree.length > 0) {
|
||||||
this.treeList = response.data.tree;
|
this.treeList = response.data.tree;
|
||||||
console.log(this.treeList);
|
|
||||||
}
|
}
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
this.$message.error(this.$t('tip.failedCourse') + ':' + error.message);
|
this.$message.error(this.$t('tip.failedCourse') + ':' + error.message);
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <Jl3d-Simulation v-show="simulationShow" ref="Jl3dSimulation" :panel-show="simulationShow" @showpanel="showpanel" /> -->
|
<!-- <Jl3d-Simulation v-show="simulationShow" ref="Jl3dSimulation" :panel-show="simulationShow" @showpanel="showpanel" /> -->
|
||||||
<left-slider v-if="isLesson" @overallTranslation="overallTranslation" />
|
<left-slider v-if="isShowLeftSlider" @overallTranslation="overallTranslation" />
|
||||||
<Jl3d-Device v-if="deviceShow" ref="Jl3dDevice" :panel-show="deviceShow" @showdevice="showdevice" />
|
<Jl3d-Device v-if="deviceShow" ref="Jl3dDevice" :panel-show="deviceShow" @showdevice="showdevice" />
|
||||||
<Jl3d-Drive v-show="drivingShow" ref="Jl3dDrive" :panel-show="drivingShow" @showdriving="showdriving" />
|
<Jl3d-Drive v-show="drivingShow" ref="Jl3dDrive" :panel-show="drivingShow" @showdriving="showdriving" />
|
||||||
|
|
||||||
@ -165,6 +165,9 @@ export default {
|
|||||||
isLesson() {
|
isLesson() {
|
||||||
return this.mode === 'teach' || this.mode === 'manage';
|
return this.mode === 'teach' || this.mode === 'manage';
|
||||||
},
|
},
|
||||||
|
isShowLeftSlider() {
|
||||||
|
return (this.mode === 'teach' || this.mode === 'manage') && (this.$route.query.lessonId != '0');
|
||||||
|
},
|
||||||
isExam() {
|
isExam() {
|
||||||
return this.mode === 'exam';
|
return this.mode === 'exam';
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user